Skip to main content
TSLint: Type boolean trivially inferred from a boolean literal, remove type annotation(no-inferrable-types)
How to fix error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
How to solve TSLint: Shadowed name: 'response'(no-shadowed-variable) in Typescript
How to fix error TS1002: Unterminated string literal in Typescript
How to fix TS2552: Cannot find name 'array'. Did you mean 'Array'? in typescript
How to fix ReferenceError: exports is not defined TypeScript
If you are getting the error for code that runs in the browser, try defining a global exports variable above the script tags that load your JS files.
How to get items from local storage with TypeScript, manipulate and resave
an example of a print basket: how to get the items and re-save them
Three ways to convert a string to number in TypeScript
How to check if local storage item exists in TypeScript
This is a rather easy one. I was adding my filtering values in my local storage and had to check if a "library" key existed.
Tutorial: how to do an excel download of objects in Typescript
I was doing this project with a little excel download in typescript, and figured it would be great to share it.
Subscribe to TypeScript