hyperweb-io / hyperweb-io/ts-codegen

allow for simple exporting of bundles

Offen
#49 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
126
Forks
31
Ø Merge
19 Min.
Gemergte PRs (30 T.)
2

Beschreibung

scopes can be great, but let's also do something more simple, like this:

```ts
export * as FactoryContract from "./contracts/Factory.client";
export * as GovecContract from "./contracts/Govec.client";
export * as ProxyContract from "./contracts/Proxy.client";
```

https://github.com/nymlab/vectis/blob/b5698087fe08dade8b4ba9492889b6577369e478/cli/types/index.ts

- [ ] there also may be an issue with using `const`? @j0nl1 mentioned here: https://github.com/nymlab/vectis/pull/83#issuecomment-1210906177

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.