11 Matching Annotations
- May 2021
- Nov 2020
-
github.com github.com
-
Make this library Typescript first
-
-
-
github.com github.com
-
Typescript support
-
-
github.com github.com
-
You may also use the package typings-for-css-modules-loader instead of css-loader to automatically generate typescript .d.ts files in order to help resolve any css/scss styles
-
- Oct 2020
-
formvalidation.io formvalidation.io
-
Type safety. Entire codebase is written in TypeScript.
-
-
-
And yes, template tags cannot have TS right now.
-
I could imagine people putting a more complex expression in an @const than we typically find in svelte expressions today, which might create more demand for those blocks to have TypeScript support, which I don't think they have now.
-
-
github.com github.com
-
This library is built in TypeScript, and for TypeScript users it offers an additional benefit: one no longer needs to declare action types. The example above, if we were to write it in TypeScript with useReducer, would require the declaration of an Action type: type Action = | { type: 'reset' } | { type: 'increment' } | { type: 'decrement' }; With useMethods the "actions" are implicitly derived from your methods, so you don't need to maintain this extra type artifact.
-
- Nov 2019
-
github.com github.com
-
Not clear whether it could (easily) be used "standalone" — without any child checkboxes.
-