diff --git a/examples/nft/src/lib/MintingComponent.svelte b/examples/nft/src/lib/MintingComponent.svelte index 6340d08..1a6ae3b 100644 --- a/examples/nft/src/lib/MintingComponent.svelte +++ b/examples/nft/src/lib/MintingComponent.svelte @@ -17,7 +17,7 @@ /*** Generate a random integer up to a given maximum value. * It uses to generate a random token ID when minting. */ - function randomInt(max) { + function randomInt(max: number) { return Math.floor(Math.random() * max); } @@ -138,3 +138,17 @@ {/if} + + \ No newline at end of file diff --git a/examples/nft/src/lib/Nav.svelte b/examples/nft/src/lib/Nav.svelte index de31c0a..e1b1fd7 100644 --- a/examples/nft/src/lib/Nav.svelte +++ b/examples/nft/src/lib/Nav.svelte @@ -1,7 +1,7 @@