Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/dudykr/stc

Speedy TypeScript type checker
https://github.com/dudykr/stc

feat: Improve `castable` (#964)

95808d803bfcc2fa5736b0d8204d85eebb9d0ea0 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix the default type of a rest pattern to `any` (#963)

d79d6d7feb80f61ca4ae3fd1f9f3a0069cfdaf07 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix logic for validating spread arguments (#962)

0c7ad08dce44b8837c7f288943174f4f70e70f7a authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Treat auto accessor as a property (#961)

**Description:**

I'm not sure if this is 100% correct, but it seems quite similar.

817d8a30b86b3696afa814c942824dd94f99c460 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Report errors if type args are passed to non-generic types (#815)

**Description:**

Covers this error

```ts
type T = {};
var v4: T<string>; // Should err...

8ab728407c759014bb93bc6334888ad59c2ff40d authored almost 2 years ago by Jesse Jafa <[email protected]>
feat: Implement more type inference (#960)

5ec6c775d520bd2eef9f6f7ee0ea3f83eeccd484 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Don't report no-init if the initializer exists (#959)

**Related issue:**

- Closes https://github.com/dudykr/stc/issues/937.

9e9680a6298d68f944ef36b2a7a44ee3bf77f998 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix assignment of type parameters (#860)

**Description:**

- Change the order of assignment rules related to type parameters.

**Rel...

bf60a62bc758c15aa9e18916e278911ee97d0337 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use correct logic for getting the element type from an iterator (#958)

c05aec44ace28cc1cab6f11f23bcf728a729101e authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore: Create a script to create GitHub issues from test cases (#955)

0cdf38b9358728c3ac592baf2bbedc31c507be6f authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Convert some conformance tests to pass-only tests (#863)

d60916bff1e5d71cbb81c0dc443b1ae77f0eb7df authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix normalization of `T & {}` (#862)

**Description:**

I extracted this from https://github.com/dudykr/stc/pull/860 because, logica...

935bbb02e32da64595d7fca00ab65e5edbdb5f26 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(base): Print types for pass-only tests (#861)

299e21f6310b6cfa3a3db1d7b5a6ba34474a11b5 authored almost 2 years ago by Donny/강동윤 <[email protected]>
perf: Reduce deep clone (#859)

045d997426f649798f89587c27033cf0a97cf7ff authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Remove outdated rule about an enum (#858)

2a0eb76f47858d3c5ee5f0c297eb7a6e9224ebd5 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(tsc): Remove unused files (#857)

81fa623439db7fcfff010227f83a3005e053dedf authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support `declare module "foo";` (#856)

21382eeb13d2bf91b9ac8134f7aaed7693d7b4a2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Unwrap promises in generator return types (#855)

c0c7829d391e07a62e271661107d48d0067b97fa authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support `AsyncIterator` in more places (#853)

5928d20dbafbe7dbd8f59b8aa0c9ac64feb22853 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Implement more assignment rules (#852)

87d832a77c1ea38f82c2a422559dd546dfb11b6d authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Disable flaky tests (#851)

41f39294fdd0a020b7a577e8ce7a335af7dc1cac authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Make evaluation order not flaky (#850)

**Related issue:**

- https://github.com/swc-project/swc/pull/7133.

1424caca1f7c5553f430ac77fa6b2df6edd1349a authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Enable more conformance tests (#849)

3bee2888c6033ce859296ddf62fc06ccca883701 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Refactor `tsc` test (#848)

**Description:**

- Merge code for loading fixtures.

b60972cd8f323d5b84e2a156c6405949e4ae4ac2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle evaluation dependency of named exports (#847)

d81ffd49a72be5a49b75b44c5ec3dec80c942619 authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore: Update swc (#846)

**Description:**

- Use `Unimplemented` for auto accessors.

8ae318100a9d4bc2edff3eb2fbadd330a648a427 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Recover from some of no-such-property for declaration merging (#845)

7090e361daa2693292c6807f8855d06270ead2dd authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle assignment of indexed access types (#832)

d98c3fc076bc5eeff7125292ef1f116896ad533c authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Assign the object of indexed access type to type elements (#843)

1fffb962b10156609901e89bdac85954cecc13a0 authored almost 2 years ago by Togami <[email protected]>
feat: Validate attributes of custom JSX elements (#840)

**Description:**

This PR regresses stats, but I'll fix them with follow-up PRs.

eceb133b499285a6a573ba752a4044b1c1ea7eb8 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Trim the content of sub-files (#842)

**Description:**

This is required for more accurate testing.

d478ad1008f6164d7a7b3f312a188453fa6a77a8 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Expand type arguments passed to member expressions (#841)

8c786c85ad1f5d2930b11e54f4f4402af9ccf7d6 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix property access of mapped types and type params (#839)

5d3c46d08f0e99dad7a454a14a7d63cda194b9cc authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use `key_matches` while matching keys (#837)

6e52c07298905c8507729b7500d6262c28ef6004 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Make `Debug` of `Type` more verbose (#836)

7cfbda8d4babe377f5b6fba7c9f2a479e9fc50b2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle index signatures in a class (#834)

**Description:**

- Validate index signatures of a class first.
- Handle `this` in `access_...

5efb3d3dc6bd5c0a70ca7b42aa75e31a5b69e1b1 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle lazy dynamic imports (#831)

**Description:**

Some dynamic imports cannot be analyzed beforehand. This PR fixes imports th...

589e2beb770f3cb673a9a81ff8a36143b8e0e8b4 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Improve handling of supers while assigning (#830)

**Related issue:**

- Closes https://github.com/dudykr/stc/issues/761.

d4f3ebe031d47a00dcac78ee38e7dbcea7388310 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix import finder (#828)

2a48b8d6cb2cd4fa3e22c4cbbc6c083b5494e6c2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Check `.d.ts` files first (#827)

7846d76ccf5b6a2a4463fddba2fbb1cc2f7bfef7 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle intrinsic case where both args are generic (#816)

**Description:**

```ts
function foo<T extends "HELLO", U extends T>(x: Uppercase<T>, u: Uppe...

b9896cb8fb905b248953c49ce7f200a4227edfd2 authored almost 2 years ago by Jesse Jafa <[email protected]>
feat: Use correct error code for missing jsx namespace type (#824)

3ddc59a9a1269f0254ea7b49db194e92d35a0c5a authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Fix `err_shift_n` (#823)

13e0c1de72757a5c82099ed1e6797781e875a8be authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix handing of named reexports (#822)

cb615d4512db55c5832b44b1f2c14774988f919b authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore: Update rustc to `nightly-2023-03-13` (#821)

f031f916af65f340b37f29a3a9b11b4dace2c893 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix panic (#820)

4a4404a97ec14cfa8c4fd879b0dcaa0724df87c9 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle treat `this` as a var to allow using type facts (#819)

c54d625e9f5eab7b401cfd2f968b0c1f20fac3c5 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Implement assignment rules for class constructors with different accessibility (#818)

2561311e6b6cf625a25757d01f4750ad9258a644 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix error code for invalid index types (#817)

8107f203e4407edfab50bb9991cff38d68e10913 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Validate type arguments of references to intrinsic types (#800)

6f088ce3177f441d9e25e20a67f1cda08c24bb6b authored almost 2 years ago by Jesse Jafa <[email protected]>
fix: Fix handling of `export import Foo = ...` (#814)

**Description:**

This PR fixes validator for `TsImportEqualsDecl` to validate variable and ty...

70417517d4bef06b02d9ac5e82b5ac65ce2c4cab authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Improve type-guard of 'in' operator (#812)

**Description:**

If `i` were an index signature, false facts should not be created, unlike a ...

41a3d3916895b4ca120fa35655d861db140e8bfa authored almost 2 years ago by Togami <[email protected]>
test: Support directives from more kinds of base tests (#811)

ef45d9eb463437cae9c39575d5af85483273c2e7 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix assignment logic for function params (#810)

145a8782584a0eeaa986f0d42f1ed37e956e739f authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support more default parameters for functions (#806)

b918d5e0a9cf1a1b1d1cc6e1ff028ba40795817d authored almost 2 years ago by rettoSea <[email protected]>
feat: Improve `Key::type_eq` (#808)

e398349ad031db51ae8c80f109e421b094747083 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Introduce `Type::union_with_undefined` (#809)

dc8d63c1633cce93f3d61cbef298265465629614 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Validate type aliases (#807)

79ca98f15fce051b90a9fc28ed2ffc84e538385b authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle `this` in more cases (#801)

d2668075eeb2fc92c7ac347c709b458e694a9e92 authored almost 2 years ago by 오병진 <[email protected]>
refactor: Fix type definition of `EnumVariant` (#805)

**Description:**

We should use `Type`, not `Box<RExpr>`.

79769596f1c681f8733e7899d76f841c69854427 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Disallow opt-chain as left hand of update expr (#802)

bfeb6fbb6211618e1165eca7710186d6427b2c8e authored almost 2 years ago by Togami <[email protected]>
feat: Use type args while calculating type annotations for args (#799)

764a1f4a302390da90b1467abbeec40422fc7bdd authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Improve handling of `this` in arrow functions (#797)

a65025337e34695ef44f7a6153e23c6979cbfe8a authored almost 2 years ago by 오병진 <[email protected]>
feat: Improve handling of `this` in class members (#796)

5b8cc5f6c793468015036a390e93ba2cc4ad5cd5 authored almost 2 years ago by 오병진 <[email protected]>
feat: Implement more rules for assignments (#794)

2ab6bb0ad6a9a412b27bdfbb7da7d3b3f65ea1f9 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle import types (#793)

**Description:**

This PR

- handles import types
- fixes handling of `declare module "fo...

cdb53f5b26a7e1230c6947b06d3722caa80e078e authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix type inference of function parameters with default (#792)

9a9a803d31f16e91390c3c27310b49454720c46d authored almost 2 years ago by rettoSea <[email protected]>
fix: Treat unknown `this` as any for amd inputs (#790)

**Description:**

I'm not sure if this is a correct fix but it seems like there's no way to re...

f252f37bda265368b84fbb1b4fffdd18df2b85db authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix assignment of conditional types mixed with intersections (#747)

c7f082a110544b099baeaf94e3f628b44c3e4f34 authored almost 2 years ago by 오병진 <[email protected]>
fix: Use correct function for `export default expr` (#788)

1fa615e2f3dce751ba0b371ff5cb6122f306c254 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Hide filename from comparison (#786)

19aab18c6b8e1d71373e3345a0c335f58596bddd authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Use `filename` while matching diagnostics (#784)

**Description:**

In some multi-file test cases, we should report errors for non-last files, t...

f0c38adf81efee0830025dfc417e3dbde97776a7 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Cleanup code for `tsc` test suite (#785)

9cf39a55cf9578b629d292f2b3c1f5e6f8b3bf47 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Disallow specific keywords in indexed access types (#783)

d83c488b024a7bdbbf29f4997ba5e92f9105deb7 authored almost 2 years ago by Y Togami <[email protected]>
test: Store `filename` from tsc test suite and update tests (#782)

**Description:**

This PR updates tests to https://github.com/microsoft/TypeScript/commit/43cc...

8a7b783c5042bc911367c22d7f897d188e89e621 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Make import equal declaration use `default` (#781)

d9bf537a3ccda2159a130a6534e8bac4a6eced50 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Rename methods of `Storage` (#780)

1b605ab81770ea9db2d76bf3857d06a5a5d540fc authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix handling of `export default expr` (#779)

6af71491baaa4d9f9f3d2d5553d42f61df16fd61 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Respect `declare module "foo"` (#778)

**Description:**

Previously it only validated `.d.ts` files without respecting `declare modul...

f9def49308babadcee3f10b2018f50b1e099ca1e authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Split `Type::Operator` (#777)

5fed5d0ef64d5355ed4efb28e485228bc27d0a07 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle assignments to string mapping types (#765)

6fc518cca21393de43155087ef6ce7523bbcc7c1 authored almost 2 years ago by Jesse Jafa <[email protected]>
perf: Use `ArcCow` for `Enum` (#776)

**Description:**

This PR also refactors code using `find_type` with `enum_name` to use `def` ...

8e1027d5e71f2b175996ede2265288706f6f29c4 authored almost 2 years ago by Donny/강동윤 <[email protected]>
perf: Use `ArcCow` for `ClassDef` (#775)

b00059bf1889ec1fb69f410fb98feef58a1414fd authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Polish `ArcCow` (#772)

9b58be4bb97009ed7fb9f0eca4db83cab463188c authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Improve assignment of class members (#766)

af5fda3c18a132ee7959ffb236bfc1879f41951d authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Normalize `TS2741` as `TS2322` (#769)

**Related issue:**

- https://github.com/dudykr/stc/issues/768

c457992b6b536891610eb0bf5e3b9e4782e54e60 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Report an error if type args are passed to a function without type params (#764)

ce156892f9fa40c792ca703a58596536aa40ffe4 authored almost 2 years ago by Jesse Jafa <[email protected]>
test: Support `@libFiles` directive (#756)

1a2c9a7e8e0db2ac0a0cf112cfac90f1bbb03110 authored almost 2 years ago by Mohammed Saud <[email protected]>
fix: Improve selection of `TS2322` vs `TS2741` (#760)

**Description:**

This PR introduces `report_assign_failure_for_missing_properties` in `Assign...

24599a0028bc1089a940a73df1049a2125cf8d12 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Add `preserve_keyof` to `NormalizeTypeOpts` (#758)

a02ed2af6607c53dcb7b3628220ac7fc05c78147 authored almost 2 years ago by Donny/강동윤 <[email protected]>
perf: Reduce needless clones (#757)

**Description:**

This PR adds assertions for cheap clones to more places and fixes panics rel...

0fa8aa721d22f64dd31a731e728e67f039706ef3 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix handling of type parameters (#755)

**Description:**

- Don't use `rename_type_params` for variable declarations.
- Handle type...

d6a12613f10c092a80b07d0ad5f8249ad25411fc authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Improve overload resolution (#753)

**Description:**

I extracted this from https://github.com/dudykr/stc/pull/751 because this ch...

97531a58ecfb604e914c5609bc4f65760fc9e4cb authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Use `Promise<any>` when `import()` got string union as the arg (#752)

d9178dcf8b1a69ef3b82b131f09e40ad28cf153a authored almost 2 years ago by Y Togami <[email protected]>
feat: Support `export * as foo from "foo"` (#750)

01866dbdc33753cd10537ee68f84e1cf01b4d469 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(conformance): Use `suffix` to create matix (#749)

**Description:**

This PR only implements `jsx=` and `module=` because those two are the most ...

0d75bcb482b9ba18f6221840750e2a42b536ffb8 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use iterator protocol for assignment of rest patterns (#731)

35869da708f2f9de87626424a9151b903f7c0eef authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Implement more assign rule for conditional types (#746)

ae740afe30e25df68fc6b08bd365f1c0c596625d authored almost 2 years ago by 오병진 <[email protected]>
chore(deps): Revert update of `string-cache` (#748)

cdd363c1664fd3a5ae0253228da7866dbc6270db authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore(deps): Update `string-cache` (#743)

**Description:**

I want to check the performance difference caused by https://github.com/serv...

f991878b3d88a019b1815da76640425642bddcb3 authored almost 2 years ago by Donny/강동윤 <[email protected]>