Add example

pull/5243/head
Ben McCann 5 years ago committed by GitHub
parent 476ba41773
commit 3ec983e4cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,3 +12,7 @@ $: x = count + 1;
```
To `import` a type or interface make sure to use [TypeScript's `type` modifier](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export):
```
import type { SomeInterface } from './SomeFile';
```

Loading…
Cancel
Save