- Use string literal instead of enums! https://devsparks.goooseman.dev/hacks/20240715-use-string-literals-not-enums/ 99 comments typescript
Linked pages
- TypeScript: Playground TS - Un éditeur en ligne pour explorer TypeScript et JavaScript https://www.typescriptlang.org/play/#src=const%20classes%20%3D%20%7B%0D%0A%20%20%20%20Add%3A%20'pr-add'%2C%0D%0A%20%20%20%20Edit%3A%20'pr-edit'%2C%0D%0A%20%20%20%20Delete%3A%20'pr-delete'%0D%0A%7D%3B%0D%0A%0D%0Aenum%20Classes%20%7B%0D%0A%20%20%20%20ADD%20%3D%20classes.Add%2C%0D%0A%20%20%20%20EDIT%20%3D%20classes.Edit%2C%0D%0A%20%20%20%20DELETE%20%3D%20classes.Delete%2C%0D%0A%7D%0D%0A%0D%0Ainterface%20IProps%20%7B%0D%0A%20%20%20%20prClasses%3A%20%3CRESTRICTED%20CLASSES%20HERE%3E%0D%0A%7D%0D%0A%0D%0A 121 comments
- https://glinscott.github.io/lz/index.html 61 comments
- lz-string: JavaScript compression, fast! - pieroxy.net https://pieroxy.net/blog/pages/lz-string/index.html 41 comments
- GitHub - pieroxy/lz-string: LZ-based compression algorithm for JavaScript https://github.com/pieroxy/lz-string 0 comments
Would you like to stay up to date with Web Development? Checkout Web Development
Weekly.
Related searches:
Search whole site: site:devsparks.goooseman.dev
Search title: Use string literal instead of enums!
See how to search.