layout and url typed as 'any' in typescript
See original GitHub issuebug description The layout and url properties from routify are wrongly typed as any.
package.json https://github.com/allanvobraun/svelte-base-project/blob/main/package.json
version
"@roxi/routify": "^2.18.0",
"svelte": "^3.37.0",
"typescript": "^4.2.4"
screenshot
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Documentation - Template Literal Types - TypeScript
Generating mapping types which change properties via template literal strings.
Read more >Building a type checked url router from scratch
The router, a central part in many web apps, is sometimes stringly typed. We'll examine how to build a url-based router where routes...
Read more >Typescript: What is type URL? - Stack Overflow
AFAICT, URL is a typescript "built-in" feature, based on the WhatWG Url specifications. The linked to page has both rationale and examples.
Read more >How To Create Custom Types in TypeScript - DigitalOcean
But instead of values, you will use other types inside the string template. Imagine you wanted to create a type that passes all...
Read more >TypeScript configuration - Angular
It is a superset of JavaScript with design-time support for type safety and ... the base TypeScript and Angular compiler options that all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes in vscode everything works, this really is a webstorm issue, thanks anyway!
@jakobrosenberg they do: https://plugins.jetbrains.com/webstorm