Michael Telatynski
573478a630
Fix type inheritance for js-sdk declaration merging
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2 years ago
Michael Telatynski
03b7aeee75
prettier
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2 years ago
Michael Telatynski
7f0434523f
Update tsconfig.json
2 years ago
Michael Telatynski
2555ffc0d4
Fix react.d.ts forwardRef types
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2 years ago
Johannes Marbach
37c1c4e8ae
Set es2022 globally but force CommonJS when using ts-node for scripts
2 years ago
Michael Telatynski
21f915ffd2
Update tsconfig.json
2 years ago
Michael Telatynski
472c07c0a8
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2 years ago
Michael Telatynski
c944a273d0
Convert copy-res to typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2 years ago
Michael Telatynski
0a4a205fbe
Enable strictPropertyInitialization ( #25735 )
2 years ago
Michael Telatynski
6726b93cb4
Enable strictFunctionTypes ( #25730 )
2 years ago
Michael Telatynski
fad458d8c5
Enable strictPropertyInitialization ( #25729 )
2 years ago
Michael Telatynski
658e282929
Enable strictNullChecks and noImplicitAny ( #25724 )
2 years ago
Michael Telatynski
9e6467c684
Improve quality of Typescripting ( #25232 )
3 years ago
Michael Telatynski
ed15578eed
Enable ES2020 to match matrix-react-sdk ( #25223 )
3 years ago
Michael Telatynski
296d1e2b75
Enable some tsc strict flags ( #24772 )
3 years ago
Michael Weimann
7921a6cbf8
Apply prettier formatting
3 years ago
Michael Telatynski
172f2f3993
Fix tests and convert to RTL ( #23474 )
3 years ago
Travis Ralston
303f06cc61
Step 2: Remove the decorator
4 years ago
J. Ryan Stinnett
2d3757c37f
Add lint for unused locals ( #21364 )
4 years ago
Germain Souquet
0f27481b6e
Change tsconfig to autodiscover all @types packages rather setting them explicitely
4 years ago
Michael Telatynski
02e23e48b3
TypeScript: enable es2019 lib for newer definitions
5 years ago
RiotRobot
f8dad68958
Add flux types as a dev dependency
...
This is not the right thing to do, since we don't directly use Flux at this
layer, but for the moment we need it to get distribution builds working.
6 years ago
Michael Telatynski
e00d2b9589
Enable esModuleInterop and iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
6 years ago
Michael Telatynski
b3a87b56fa
tsc resolveJsonModule
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
6 years ago
Michael Telatynski
1314a8d3f9
undo unrelated change.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
6 years ago
Michael Telatynski
afabf9d4b1
Fix tests post-js-sdk-filters change
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
6 years ago
Travis Ralston
b419afad40
Declare jsx in tsconfig for IDEs
6 years ago
Travis Ralston
f44694ad44
Support TypeScript for React components
...
Same treatment as https://github.com/matrix-org/matrix-react-sdk/pull/4203
6 years ago
Travis Ralston
1b41dc3291
Make the webpack config work for us
...
This moves the babel and postcss configs into the webpack config for ease of maintenance (and because we need variations of them). The typescript config is left outside the webpack config for IDEs to pick it up.
6 years ago
Travis Ralston
feb62793d2
Revert "Upgrade to babel@7 and support TypeScript"
...
This reverts commit 7b89893645 .
6 years ago
Travis Ralston
7b89893645
Upgrade to babel@7 and support TypeScript
...
See https://github.com/matrix-org/matrix-react-sdk/pull/3292
Like react-sdk#3292, this fixes the couple source files which mix imports and module exports (they can't be mixed anymore).
6 years ago