hyperweb-io / hyperweb-io/hyperweb-boilerplate
dealing with types and internal modules like `~bank`
Open
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
We can create a declaration file (e.g., `bank.d.ts`) to declare the types for internal packages:
```ts
declare module '~bank' {
export function getBalance(): number;
export function sendCoins(amount: number): void;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.