Skip to content

Commit

Permalink
Merge pull request #44 from johannchopin/patch-2
Browse files Browse the repository at this point in the history
Fix TypeScript typo in README
  • Loading branch information
romkor authored Dec 31, 2020
2 parents 851fe45 + aeb8870 commit a5b52f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ The functionality can also be applied to DOM elements directly via a svelte acti

The `hidden` atrribute is only needed when using ssr, when portal has moved the element to it's targetted location it removes the hidden attribute.

## Typscript support
## TypeScript support

`<script lang="ts">` users should import from `"svelte-portal/src/Portal.svelte"` instead of `"svelte-portal"` to get typing support.

0 comments on commit a5b52f7

Please sign in to comment.