Ecosyste.ms: OpenCollective

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

stc

Faster TypeScript type checker
Collective - Host: opensource - https://opencollective.com/stc - Website: https://t.co/vtbiznAtSY - Code: https://github.com/dudykr/stc

test: Support `@nolib` directive (#742)

**Description:**

Fix some panic caused by nolib directive.

github.com/dudykr/stc - 2ee8264692a9c3038fac9d8c21f4b348af4c4558 authored almost 2 years ago by Y Togami <[email protected]>
fix: Fix assignment of unions of intersections (#740)

**Related issue:**

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

github.com/dudykr/stc - 0e19a36d7b8a052c42b98ecddec45cadcd860251 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Allow using types for named exports (#738)

github.com/dudykr/stc - 5d3aa0be24cfdade3867a62ac92fa4811fb929e6 authored almost 2 years ago by rettoSea <[email protected]>
chore: Update stats (#739)

github.com/dudykr/stc - 76651360154b36046cd094595febfb2315c36bf2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix handling of `this` binding at more functions (#736)

github.com/dudykr/stc - 5406551f40ff4095122c5a02fc14f41b2782f53a authored almost 2 years ago by 오병진 <[email protected]>
fix(ts/loader): Handle `.tsx` at `@filename` directives (#737)

github.com/dudykr/stc - 99e317b2420d6670f7a97a85622c4cbc072c1e61 authored almost 2 years ago by Y Togami <[email protected]>
fix: Allow using types for export assignments (#733)

github.com/dudykr/stc - 5e4b313eea15aa75ca1449d30e6c50494b4da94e authored almost 2 years ago by Ben Heidemann <[email protected]>
chore: Update swc (#732)

github.com/dudykr/stc - 3625160bd2320331ceb0e88750d9fe7251e595f5 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix type inference of generic parameters mixed with rest (#725)

**Description:**

- `spread_args`: Preserve type paramters.
- `infer_arg_types`: Handle spr...

github.com/dudykr/stc - ad91d8ac2936f9befb8dbffb43a687b77402318c authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Type predicates should not be expanded using `JsWord` logic (#727)

github.com/dudykr/stc - 88fd614be91e94c99853e7c7577877c10db9e5e3 authored almost 2 years ago by Jesse Jafa <[email protected]>
chore: update debugger config (#729)

<!-- Note: CI script will automatically rebase your PR so please do not
rebase unless required -...

github.com/dudykr/stc - 59c6d0b4d92883554e86cc7aa762f83defb95bf2 authored almost 2 years ago by Y Togami <[email protected]>
fix: Allow accessing interfaces in a module (#728)

github.com/dudykr/stc - 0f40438e6ee281878b64bf48ff27ba19bee6f649 authored almost 2 years ago by Y Togami <[email protected]>
chore(errors): Use `TS7036` instead of `TS0` (#726)

github.com/dudykr/stc - 4d0e4462157bfe296517269999b88f37fc04ed2b authored almost 2 years ago by Y Togami <[email protected]>
feat: Skip `this` parameter while assigning functions (#724)

github.com/dudykr/stc - cb2f0f0f23e161e6f6f5299a3f2348cc6b24c1b9 authored almost 2 years ago by 오병진 <[email protected]>
feat: Handle `this` in a method mixed with an arrow function correctly (#723)

github.com/dudykr/stc - 8eb9d9aedc18bf1023a0619dff3427986c5189f6 authored almost 2 years ago by 오병진 <[email protected]>
feat: Handle `this` in arrow parameters correctly (#722)

github.com/dudykr/stc - 59a6f29404e44f2b76fd13dac896128ada44f979 authored almost 2 years ago by 오병진 <[email protected]>
refactor: Handle assignment of query types via normalization (#719)

**Description:**

We don't need owned functions for the assignment of query types.

github.com/dudykr/stc - 1cb6c1844cfd2e6b069bddc3588dda51d53a3b6f authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(conformance): Make conformance test faster (#718)

**Description:**

This PR
- ignores a flaky test case.
- makes conformance test suite by r...

github.com/dudykr/stc - cb399f9d8f00719be33a277bdb728d8f27d2f885 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Use promise for dynamic imports (#715)

github.com/dudykr/stc - ef780f81013ef6d882fd8e63d2967431afb80783 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix `super` in ES5 (#714)

github.com/dudykr/stc - 85f6d6e8f946b253edd9d3b3d8346368b1e9a11d authored almost 2 years ago by Filip Wachowiak <[email protected]>
feat: Support `typeof this` (#713)

github.com/dudykr/stc - 637cc2676242189007b708d4ba14da1a94e625f6 authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore: Add a script to print stats per error code (#712)

github.com/dudykr/stc - bf13ea08328d9257baac8d2ced4c20e8663158db authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(conformance): Add line of errors to error diff files (#711)

github.com/dudykr/stc - fef6d5aa30e3188ceea3e547acb538979d2ef972 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test(conformance): Print difference of error codes to a file (#710)

**Description:**

This PR makes the conformance test suite print the error codes of required e...

github.com/dudykr/stc - c7a35466504947cd64d17143a117e0ef5204a8c3 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Use the correct error code for multiple export defaults (#708)

github.com/dudykr/stc - 4d2c1dab0c5fc65ec72db6f9a4dbcddf5993508e authored almost 2 years ago by rettoSea <[email protected]>
feat: Validate the first argument of dynamic imports (#707)

github.com/dudykr/stc - 6a460fbf3363d616f2e4f4284badc159ddc62cbd authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support dynamic imports (#706)

github.com/dudykr/stc - 86891e586d0162a7b737143910c8e2d30a1aefca authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Enable multi-file tests (#700)

**Description:**

This PR implements a multi-file module loader for the conformance test suite.

github.com/dudykr/stc - 45fb433fcc1db2874841759d6aff55bd6990468f authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Disable javascript tests (#703)

**Description:**

`v0.1.0` will not support checking javascript files.

github.com/dudykr/stc - 767c593240a676b79078a2d25e697804e4859b86 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Make module loader accept file loader (#701)

**Description:**

This. is a groundwork for multi-file tests.

github.com/dudykr/stc - dadcd8c57fc99a2dba97274f4cf6d31a15d39ff9 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Prepare multi-file testing (#699)

**Description**:

This PR implements a parser for `@filename` directives and converts the igno...

github.com/dudykr/stc - 3d9c18de19a5024e5129e6aab70ca218ead2de88 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Organize unit tests (#698)

**Description:**

- Remove duplicate unit tests.
- Migrate unit tests to pass-only tests.
...

github.com/dudykr/stc - 59190f05acb73ae4369252e324fd8ba88b732c1e authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix the error code for assigning a callable to type elements (#697)

github.com/dudykr/stc - 25c1955f55ad990f956e527facbcc7f446253a86 authored almost 2 years ago by 오병진 <[email protected]>
fix: Fix the error code for a usage of property before init (#696)

github.com/dudykr/stc - d1a01fbb0327b0e1e9aada6d2f6ce356caf70c7f authored almost 2 years ago by Y Togami <[email protected]>
fix: Fix error code for mixed default exports (#695)

github.com/dudykr/stc - 85d18d77a20e4238d2626678c57336e3b3cb1986 authored almost 2 years ago by Filip Wachowiak <[email protected]>
fix: Count `void` in parameters correctly (#692)

github.com/dudykr/stc - e36331134bb2d40e14d069169db20dc37728ca03 authored almost 2 years ago by Jesse Jafa <[email protected]>
refactor: Remove `Type::union` in favor of `Type::new_union` (#694)

github.com/dudykr/stc - 72e0ef7413e92b09708d578bff0f012736f1aae4 authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore: Reduce stack size to 8MB from 16MB for debug builds (#693)

**Description:**

As I refactored recursion of call/new expressions, we can now reduce the sta...

github.com/dudykr/stc - a9321a994221c3e2457a1ec7e1155ce68105164f authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Clean up code for call/new (#691)

**Description:**

- Use type annotations even if the type parameter exists.
- Pass down ann...

github.com/dudykr/stc - b7a4ebcc286fb743c6a925d0c8c05a42f866fb57 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Report error for non-never code in function returning `never` (#690)

github.com/dudykr/stc - ddc5a39719edda5d699630da25ef936f117b46f5 authored almost 2 years ago by 오병진 <[email protected]>
fix: Distinguish fn overloads and var overloads with fn type (#659)

github.com/dudykr/stc - 9af833326616b42187f7b4ae5ccb9351138ff3ce authored almost 2 years ago by rettoSea <[email protected]>
feat: Report error for wrong RHS of for-of (#689)

github.com/dudykr/stc - 9b1961e51440ad4f4d336e8b84581ddfdda9a3e0 authored almost 2 years ago by 오병진 <[email protected]>
feat: Support `as` keyword in a mapped type with `keyof` (#686)

github.com/dudykr/stc - 461de5d8f949cc4fc383a0537cda6de59ea05805 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix normalization of an indexed access type with type parameter key (#688)

github.com/dudykr/stc - 713b5dfe5de52206a81b2232467ed7252bb7044b authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Report errors correctly for spreads of `unknown`s (#683)

Co-authored-by: Donny/강동윤 <[email protected]>

github.com/dudykr/stc - 05917ab1a45a967b9533e31a5a49fd9c2cca62fe authored almost 2 years ago by Jesse Jafa <[email protected]>
feat: Report an error for a class extending a class with a private field (#687)

github.com/dudykr/stc - 6d6cb366af0b2d798c240b42f1eb0701e11e9f65 authored almost 2 years ago by amr <[email protected]>
test: Enable passing tests (#685)

github.com/dudykr/stc - 06c075f20cf126f1bd5fb3c2e1e1dc0a148b31fb authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore(ci): Add a workflow to ensure all passing tests are enabled (#682)

github.com/dudykr/stc - 53263ccb22d2a1c1dfddaafa3ae67165721be486 authored almost 2 years ago by Donny/강동윤 <[email protected]>
chore(ci): Add a script to write comments on PRs (#684)

github.com/dudykr/stc - ed6c9a7ebf96d4db1da984778a362ec3dcb7928c authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Implement more rules for the `unknown` type (#674)

github.com/dudykr/stc - b426c22734a887966e3bc424c9b7718b8a078045 authored almost 2 years ago by Jesse Jafa <[email protected]>
feat: Improve validation of call/new arguments, including arity checks (#680)

github.com/dudykr/stc - b5f1cf11908d89b2a82854249e6f296a0cb5109a authored almost 2 years ago by EliLichtblau <[email protected]>
feat: Use an index signature while inferring a type (#660)

github.com/dudykr/stc - 09054df5c8ee6a5964f6fbe3d9e5a1f91c638a36 authored almost 2 years ago by Mykola <[email protected]>
feat: Handle class extending another class with a private field (#677)

**Description:**

This PR adds code to handle the case when a class extends another class with...

github.com/dudykr/stc - df5362c8c43a4475e8d3a735dbbbf13cce8d2910 authored almost 2 years ago by amr <[email protected]>
feat: Instantiate return type while validating (#675)

**Description:**

- Instantiate types while validating return types.
- Improve `get_awaited...

github.com/dudykr/stc - 2233da4eff8014e762d6caeca0ec06f794c36ff1 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Make `Debug` impl of `Type` readable (#676)

github.com/dudykr/stc - be805327f9a8cded241102ed52460b3b1f15f3b0 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Implement priority for accesses to index signatures (#673)

github.com/dudykr/stc - 1e8b0deae6ebe6ea9afd583d93619be69046bf97 authored almost 2 years ago by 오병진 <[email protected]>
feat: Handle assignment of an enum variant (#672)

**Description:**

- Handle assignment of an enum variant to a literal.

github.com/dudykr/stc - 4886f6af3abc128eac4de412ccb4f1494af0ad09 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Cleanup (#671)

**Description:**

- Rename variables.
- Removes needless logic in `assign`.
- Cleanup cod...

github.com/dudykr/stc - 0bcf2385064ef03a541ceb8723a1a8398eea7f73 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle more assignments to mapped types (#670)

**Description:**

- Make `assign` try normalizing a mapped type in LHS.

github.com/dudykr/stc - 1d51c0b262a2cd3336954971c854015e487a3e2d authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle optionality of a mapped type with an array/tuple (#669)

github.com/dudykr/stc - 906d527e55536d56bedea0d571963fa45fb53e2f authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Handle inference of mapped types mixed with tuples (#566)

**Description:**

- Make tuple assignment aware of a non-last rest element.
- Make tuple in...

github.com/dudykr/stc - 2414de5341601d4cb23b7a63536ec512ac56f947 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Fix unit testing system (#668)

**Description:**

The unit testing system was broken due to https://github.com/dudykr/stc/pull...

github.com/dudykr/stc - 85ad9d701b8ed8edc231d504b161e010a38e6ef0 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Split conformance tests into unit tests (#667)

github.com/dudykr/stc - 06a0bec657b86225343d23f68013f177ba5fc00c authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Support all directives from unit tests (#666)

github.com/dudykr/stc - dfa5fb510ca6f85f697024e7083ed3ff0345980a authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Extract parser for conformance test suite (#665)

github.com/dudykr/stc - 80ce3da37a077eb9815e8d7ad9b6eb304ce0a080 authored almost 2 years ago by Donny/강동윤 <[email protected]>
doc: Move contributing guideline to website (#662)

github.com/dudykr/stc - 94a2b2090d154669348b75f1a40d0899fd90c8a4 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Widen tuple in more cases and use correct error for non-array args (#661)

github.com/dudykr/stc - 82b4f49a4ebbd49672aa33aff9c2ecec9a52644a authored almost 2 years ago by Jesse Jafa <[email protected]>
fix: Fix expansion of mapped types (#658)

**Description:**

This PR improves the expansion of mapped types and also improves the assignm...

github.com/dudykr/stc - 5945993cfb96a5a32284b698deef853871c1aa30 authored almost 2 years ago by Donny/강동윤 <[email protected]>
refactor: Improve context of assignment (#657)

**Description:**

Now it also shows the normalized form.

github.com/dudykr/stc - 5ce4aae1aba4601b50108e4a3b4b8e712940f630 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Check for implicit any created by union indexes (#656)

**Description:**

This PR also fixes `readonly` handling of `append_type`.

---------

Co-...

github.com/dudykr/stc - 0d8118f14bde8e4f0adbd8377dde632de56cb182 authored almost 2 years ago by 오병진 <[email protected]>
test: Migrate some pass tests to pass-only tests (#655)

**Description:**

The pass-only tests are far better for the project velocity.

github.com/dudykr/stc - b3506d5126ca6ef22db4d72ee59dd4aff8289cbb authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Validate initializers of an enum with a string member (#653)

github.com/dudykr/stc - d443cdccf5fe02b4f79bbbe29a9eb51b3c1429e6 authored almost 2 years ago by 오병진 <[email protected]>
test: Enable passing unit tests (#651)

github.com/dudykr/stc - ac77af9785913ed782954cb3e4cd51c207be5f4a authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use type annotations for generic calls (#646)

**Description:**

Previously, we didn't use the type annotations for generic calls. This was d...

github.com/dudykr/stc - 5f16465849974b841e0896962a446508cfbe590b authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Report `TS2668` for ambient modules (#648)

github.com/dudykr/stc - 0a3e415f86367a7391d1ad00743e77c4d4cca0c3 authored almost 2 years ago by Y Togami <[email protected]>
perf: Reduce `memmove` of `Analyzer` (#645)

**Description:**

This PR moves fields of the `Analyzer` into `AnalyzerData` and stores the `A...

github.com/dudykr/stc - 23dcadee07bcf1bc1d406bf9f6d141e8d079da2e authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Use correct error code for wrong interface implementations (#638)

**Description:**

This PR updates logic in `report_errors_for_wrong_implementations_of_class` ...

github.com/dudykr/stc - e127f1c487ef5c43b71ac58234ae9fa084b295a2 authored almost 2 years ago by amr <[email protected]>
fix: Remove needless generalization for vars declared multiple times (#644)

github.com/dudykr/stc - 4878ada02627ff44cc978b7b43a87066083a8b06 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Allow empty `return` for a non-void function in non-strict mode (#643)

github.com/dudykr/stc - d0e5952e08896271cb3373e6277d870c8b0cd74c authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Adjust option while assigning to an intersection (#642)

**Description:**

Previously,

```ts
type Constructor<T> = new (...args: any[]) => T;

cl...

github.com/dudykr/stc - 2df0b6536a927f0d7fcb6a0cf10623ad8915cfab authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Ignore fn params while calculating evaluation order (#640)

**Description:**

Previously

```ts
type F = (s: string) => string;
type G = (x: any) => ...

github.com/dudykr/stc - 26e9e098bd3714eaeb01a9d5350a76c5ebf227f5 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Fix stack overflow cause by `typeof` mixed with overload (#639)

**Description:**

Previously

```ts
var fn = function (s: string) { return 42; }
var fn = ...

github.com/dudykr/stc - e8e501b263ce76e38e71a48df5419a4e513ed3a3 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use correct logic for unwrapping promise on assignment (#637)

github.com/dudykr/stc - f31c92dfe3980d5e679eb3c42d21dd1daaff142e authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Handle `this` correctly in static class members (#636)

github.com/dudykr/stc - c9150f6282f31b4c18d31ee5b1ad1256110748c2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Split more conformance tests (#635)

github.com/dudykr/stc - 8ea5b02590550cdd7d1e6cbf53a54bc719be99a2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Allow more types for a computed key (#634)

github.com/dudykr/stc - 00ac9e56ca3d8036410c303c890768679c591b3f authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support accessing property of `bigint` (#633)

github.com/dudykr/stc - c8e6a9d0431660a82f12ec53979e46d50c0f7bba authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Allow more expressions in pattern position (#631)

github.com/dudykr/stc - 7ae5cfd681d41f7b33987e10e4890bf7bc490142 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Split more conformance test cases (#628)

github.com/dudykr/stc - 3bc93512a4b677ff04cb0e5d04a761da46bab948 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Split more conformance tests (#627)

github.com/dudykr/stc - 9da923ad1557b0ae2866bc449654c190fca1cbce authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Split conformance tests as file analyzer tests (#624)

**Description:**

This PR adds *ignored* unit tests to the file analyzer to make verification ...

github.com/dudykr/stc - a149e876483ab8479492ef92b2932ffbae72a115 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Use correct error code for overload resolution failure (#623)

**Description:**

- Check for empty arguments while determining overload.
- Change the erro...

github.com/dudykr/stc - 75b62b57e117f3c856091e33e321ccf52a6a2a54 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support `Awaited` (#620)

**Description:**

`tsc` implicitly deletes `| null | undefined` if an `infer F` is used as the...

github.com/dudykr/stc - 516ce8f4e00811b4874a0cb246800609d956e833 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Change error code for a class extending interface (#619)

github.com/dudykr/stc - 0c65776d3a82b2489dace6a37600dac033492ea9 authored almost 2 years ago by Donny/강동윤 <[email protected]>
test: Organize tests (#618)

github.com/dudykr/stc - 4ca9a2be0f4d7a7ac471f70733d5e5e294c264f7 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Support more initializer for enums (#617)

github.com/dudykr/stc - 52ac93cb889fdcddb2f33d588dd2a956047928b2 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Don't report no-matching-overload if type args are specified (#614)

github.com/dudykr/stc - a74899adeb4238fac1b2995bae3c41845abbaae0 authored almost 2 years ago by Donny/강동윤 <[email protected]>
fix: Pass type annotation of a new/call expression to callee (#613)

github.com/dudykr/stc - 1996d91dd93af4887981b87745b6b0e312d7560b authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat: Fix assignment of `void` (#612)

github.com/dudykr/stc - d349d5254e94462fd3714c7f783157026267d8a8 authored almost 2 years ago by Donny/강동윤 <[email protected]>
feat(ts/loader): Treat `reference`s in a typing package as a cycle (#611)

github.com/dudykr/stc - 08c9a5eca19a705ffdac2d5b32d0a4b014c46999 authored almost 2 years ago by Donny/강동윤 <[email protected]>