Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Preload with TypeScript not working #1312

Closed
daarxwalker opened this issue Jul 10, 2020 · 1 comment
Closed

Preload with TypeScript not working #1312

daarxwalker opened this issue Jul 10, 2020 · 1 comment

Comments

@daarxwalker
Copy link

Describe the bug
Preload with using TypeScript not working

Logs
index.svelte:9 was created without expected prop 'data'

To Reproduce
Not working
Snímek obrazovky 2020-07-10 v 16 25 39

Working
Snímek obrazovky 2020-07-10 v 16 26 01

Expected behavior
Should work same with TypeScript

Information about your Sapper Installation:

  • Your browser and the version: Chrome latest

  • Your operating system: macOS Catalina 10.15.5

  • Your hosting environment: Local

  • Sapper version: 0.27.16

  • Svelte version: 3.24.0

  • Rollup

Severity
Can't preload if svelte component using TypeScript

Additional context
#1241
Found this, but it's closed and no solution.

@Conduitry
Copy link
Member

Duplicate of #760.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants