-
This issue is to track a set of goals for type safety in TypeScript. In experiments, I have confirmed that all of these should be possible. While the increased verboseness has some ergonomic cost, the…
-
### Describe the issue
When using the plugin with TS, I got the error:
> error TS7016: Could not find a declaration file for module '@aws-lite/dynamodb'. '/..../node_modules/@aws-lite/dynamodb/src/i…
j0k3r updated
1 month ago
-
**Link:** https://wg21.link/lwg2570
-
> [!IMPORTANT]
> Edit by @sodic, before tackling this, take care of:
> - #2010
> - #1827
The `d.ts` file are generated incorrectly if we use inferred function return type to define a type.
If…
-
noFallthroughCasesInSwitch
noImplicitReturns
More work:
strictNullChecks
-
In Remotion projects with TypeScript, the type annotations of provided hooks are not strict meaning that e.g.
```tsx
import {
useTimeConfig,
useInterpolate,
useTime,
} from "remotion-tim…
-
### Problem
Currently we use `strict: false` in `tsconfig` which disables set of other TypeScript rules:
[alwaysStrict](https://www.typescriptlang.org/tsconfig#alwaysStrict)
[strictNullChecks](http…
brojd updated
4 months ago
-
The project isn't using TypeScript strict mode. TypeScript strict mode is de-facto standard for TS libraries. If you run `npx tsc --init` in a new project the compiler will generate `tsconfig.json` wi…
-
Currently, the tsconfig is quite loose and we are potentially not catching all bugs we could. Hence, we should invest some time to make it all strictly typed.
All we need to do is to switch the stric…
-
my tsconfig.js
```
{
"compilerOptions": {
"target": "esnext",
"lib": [
"esnext"
],
"module": "commonjs",
"types": [
"@typescript-to-lua/language-extension…