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

chore: Update TypeScript from `v4.3.5` to `v5.1.3` (#1105)

github.com/dudykr/stc - 34abe15fab75bd28122be339d739980cd2312d49 authored 11 months ago by 오병진 <[email protected]>
feat: Remove extra error at `interfaceExtendsObjectIntersectionErrors` (#1103)

**Description:**

```ts
interface I31<T> extends T { x: string }
```

I have a concern.

...

github.com/dudykr/stc - fa1547038db4caa39543843b314c8ebdf1a7b815 authored 11 months ago by 오병진 <[email protected]>
fix: Import local type from module and namespace (#1099)

**Description:**
```ts

declare module "foo2" {
namespace Bar {
interface I {
...

github.com/dudykr/stc - b81ae80cefcddacd814660d64111c3fb326b139e authored about 1 year ago by 오병진 <[email protected]>
fix: Handle `module-not-found` error occurred while preparing module (#1098)

github.com/dudykr/stc - 9e4c9b300e5e37311472d722b1c933a7ee4280dc authored about 1 year ago by 오병진 <[email protected]>
feat: Add wasm support for playground (#1082)

**Description:**

This PR implements checker behaviors for `wasm` binding. By supporting wasm,...

github.com/dudykr/stc - bec48cea793b2056f1335da9f2a76d1f988417da authored about 1 year ago by AcrylicShrimp <[email protected]>
chore: Update rust-toolchain to `nightly-2023-10-04` (#1095)

github.com/dudykr/stc - 105ff10bc9919857f1c18a30547a2d46ac2dfdbe authored about 1 year ago by Simon Buchan <[email protected]>
feat: Resolve private names and property signatures (#1093)

github.com/dudykr/stc - 796da7dc81438ef92737a4317c4c70bae296f81c authored about 1 year ago by 오병진 <[email protected]>
fix: Freeze the return value of `access_property` (#1094)

github.com/dudykr/stc - 174627d58d3cb2d201dfc90ddc84166d70683d7d authored about 1 year ago by 오병진 <[email protected]>
refactor: Split `analyzer/types/mod.rs` (#1091)

github.com/dudykr/stc - 21a0da526509e416a253d3a6f404c893635f9a83 authored about 1 year ago by 오병진 <[email protected]>
feat: Remove panic when `main_source` contains reference comment (#1086)

**Description:**

```rs
let main_src = Arc::new(fs::read_to_string(file_name).unwrap());
// ...

github.com/dudykr/stc - cf8baebfe087e9fc377871754100d9f2b7f86929 authored about 1 year ago by 오병진 <[email protected]>
feat: Resolve `panic!` cause by `import.meta` (#1089)

**Description:**

```ts
declare global { interface ImportMeta {foo?: () => void} };

if (im...

github.com/dudykr/stc - 8ac1d0dd8ce710c61dd454bb3208f9bcf62d97e4 authored about 1 year ago by 오병진 <[email protected]>
fix: Fix parsing of numeric literals like `0x9E` (#1087)

**Description:**

```ts
type TBigInt2 = "0x10" extends `${infer N extends bigint}` ? N : neve...

github.com/dudykr/stc - f390577bcea611fa67d4763998a024ae8d6d7117 authored about 1 year ago by 오병진 <[email protected]>
fix: Resolve panic about module not found with `es5` (#1088)

github.com/dudykr/stc - 7c45da4fa4a1ba5c38bcf1fede18d8d718cadb17 authored about 1 year ago by 오병진 <[email protected]>
refactor: Collect use of `std::time::Instant` into dedicated timer module (#1085)

github.com/dudykr/stc - 804a0beef80180d41d7b66aa055a52671867c40f authored about 1 year ago by AcrylicShrimp <[email protected]>
feat: Improve optional chaining validation (#1084)

github.com/dudykr/stc - c5a9d98136fc9e27d5e27fb8648c56e04873a17c authored about 1 year ago by 오병진 <[email protected]>
refactor: Use `Type::xx` as constructor for readability (#1079)

github.com/dudykr/stc - 13696aebda0ec727b2e885be46b7da03847d76a3 authored about 1 year ago by 오병진 <[email protected]>
feat: Implement error emission about existing file (#1076)

**Related issue:**

- Part of #705

github.com/dudykr/stc - 90f7c040c49ea49cca0fc44d2fb54f168797418b authored about 1 year ago by 오병진 <[email protected]>
refactor: Remove duplicate code (#1080)

github.com/dudykr/stc - 637a99c41c5c51308ea5144a7889d7e848179853 authored about 1 year ago by 오병진 <[email protected]>
refactor: Reduce unused code (#1078)

github.com/dudykr/stc - 1ae919e56b68074e5f551c5fdf18c2bde9a8475a authored about 1 year ago by 오병진 <[email protected]>
feat: Implement property access about non-primitive constraints of IAT (#1067)

**Description:**
```ts
function l<T extends {}, P extends keyof T>(s: string, tp: T[P]): void ...

github.com/dudykr/stc - a354f079198ba7c95ee488963ba6f54d1ac922c8 authored about 1 year ago by 오병진 <[email protected]>
feat: Union the type of an optional property of a mapped type with `undefined` (#1073)

**Description:**

```ts
function f10<T>(x: T, y: Partial<T>, k: keyof T) {
x[k] = y[k]; ...

github.com/dudykr/stc - f46b724f597e181200807f229f543a1ec0b9606c authored about 1 year ago by 오병진 <[email protected]>
feat: Implement `assign` about indexed access types (#1071)

**Description:**

```ts
type A = 1 | 2;
function f<T extends A>(a: T): A & T { return a; } /...

github.com/dudykr/stc - 57e0f3fae1089a7ee6119637ec4e4c3da3fc10f8 authored about 1 year ago by 오병진 <[email protected]>
fix: Fix panic from `parse().unwrap()` at generic inference (#1070)

**Description:**

```rs
if r.is_num() {
match src.parse() {
Ok(v) => {
...

github.com/dudykr/stc - 277b967403b38526a373f5aed05c0320f744feb4 authored about 1 year ago by 오병진 <[email protected]>
feat: Support accessing nom primitive constraint of an empty object (#1072)

**Description:**

```ts
function l<T extends {}, P extends keyof T>(s: string, tp: T[P]): voi...

github.com/dudykr/stc - 96ad01d46cd8920d08479e357d9e8da56e6e98da authored about 1 year ago by 오병진 <[email protected]>
test: Support more directives in file analyzer testing system (#1069)

**Description:**

When comparing TSC to error, we took the error results from ACTUAL.

In ac...

github.com/dudykr/stc - d5a01edccca9cf31d577e7cdb530651e501ddc13 authored about 1 year ago by 오병진 <[email protected]>
test: Update `conformance` test error message format (#1068)

github.com/dudykr/stc - a04f4b13f2afe89f435f6af5cbfe6f1bb0cf89fd authored about 1 year ago by 오병진 <[email protected]>
refactor: Create `Type::get_any_key_type` (#1066)

github.com/dudykr/stc - f78187b937c25de240b7196b9b8cae6bc9a059fc authored about 1 year ago by 오병진 <[email protected]>
feat: Support more `keyof` for `IndexedAccessType`s (#1065)

**Description:**

```ts
function f90<T extends S2, K extends keyof S2>(x1: S2[keyof S2], x2: ...

github.com/dudykr/stc - 92191dc1e10504d00cb08edb9a155123885b8841 authored about 1 year ago by 오병진 <[email protected]>
test: Handle `.` in conformance test resolver (#1064)

github.com/dudykr/stc - e6e4c6320d5ad6965ff53600ea9eab275cdf38b3 authored about 1 year ago by Togami <[email protected]>
feat: Implement `this` types in method parameters (#1062)

**Description:**

```ts
// @strictNullChecks: true
// @declaration: true

class A<T> {
...

github.com/dudykr/stc - 0130bbe856f2582d5f50b3241bf72afe46ea6b22 authored about 1 year ago by 오병진 <[email protected]>
feat: Implement `keyof` for enums (#1061)

**Description:**

```ts
// @strictNullChecks: true
// @declaration: true

enum E { A, B, C...

github.com/dudykr/stc - 9d957b449ee6f0b4902c2a1bad5d15caf66c51ee authored about 1 year ago by 오병진 <[email protected]>
feat: Implement `keyof this` (#1059)

**Description:**

implement `keyof this`
```ts
// @strict: true
// @declaration: true

ty...

github.com/dudykr/stc - 9fe5d4312cc67dfe34268b0191b2c1b6b3d64ca9 authored about 1 year ago by 오병진 <[email protected]>
test: Add a test to the pass list (#1058)

github.com/dudykr/stc - 81792e8e9dcfd95c4e3e0b98001a8ec47e0af27c authored about 1 year ago by 오병진 <[email protected]>
chore(ci): Enable publish action for more branches (#1057)

github.com/dudykr/stc - 865e977d19d9b5d10bc6b3f4e87d47c2ec102179 authored about 1 year ago by Donny/강동윤 <[email protected]>
feat: Validate inferred generic types (#1053)

github.com/dudykr/stc - dcacac1a8ebcd39b9b749b55d2e4ee4951ce5139 authored about 1 year ago by 오병진 <[email protected]>
fix: Improve logic for the order of statement evaluation (#1052)

github.com/dudykr/stc - 31db61a7e92759df26c65d3e0d8b5c68627bf9ac authored over 1 year ago by padorang684 <[email protected]>
fix: Parse numeric strings in template literals as a bigint (#1050)

github.com/dudykr/stc - 693cf5a891c5580542811b906616f0c15d0dd0fc authored over 1 year ago by Jesse Jafa <[email protected]>
fix: Consider a template literal with no types as a string (#1049)

github.com/dudykr/stc - 0b12a85b6eee5ea599ac19da7a1d38bb44e9c6e1 authored over 1 year ago by Jesse Jafa <[email protected]>
feat: Support `noUncheckedIndexedAccess` (#1020)

github.com/dudykr/stc - 7e9d57f421143a932390e31b245805bb0f8ebe94 authored over 1 year ago by Togami <[email protected]>
fix: Allow `"false" | "true"` for a bool in template literal types (#1047)

github.com/dudykr/stc - b9c8b6be03bd9da1711ffbcc9db0835069de4e55 authored over 1 year ago by Jesse Jafa <[email protected]>
feat: Implement readonly error reporting for intersection (#1043)

github.com/dudykr/stc - 9f56cd1318ddebaf993895d2d7fb69ac1ec46e91 authored over 1 year ago by 오병진 <[email protected]>
chore: Remove issue sync script (#1041)

github.com/dudykr/stc - bb9e6cc1f5d1d0523eb4f8cfc95bea53479fb10e authored over 1 year ago by Donny/강동윤 <[email protected]>
test: Migrate `errors` test to `tsc` tests (#1040)

**Description:**

- Make `tsc` compare test support directives.
- Migrate `errors` tests to...

github.com/dudykr/stc - 1d9451c4a11a42c40e28f684c2b84fe9b29fd31d authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Normalize more error codes (#1037)

github.com/dudykr/stc - f9757e6bd3bb2552ff4182ae8c5550a4d70b5edd authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve error reporting for wrong interface inheritance (#1036)

github.com/dudykr/stc - 1e43586cf4ed3b50b9a0ff794a494faf1c69ed81 authored over 1 year ago by Donny/강동윤 <[email protected]>
chore: Update `rustc` to `nightly-2023-05-25` (#1034)

github.com/dudykr/stc - 9b61c5a113a0c6d5f34ae6aff46f426c232d8dac authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Report an error if two operands of assignment does not have a common property (#1032)

github.com/dudykr/stc - 2a7e75a53965e9714bc7403dcd8c58573df43058 authored over 1 year ago by Donny/강동윤 <[email protected]>
chore(ci): Create Wasm publish action for playground (#1033)

github.com/dudykr/stc - a09c142f8947b1fc0ea99a10f8588da241098762 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Fix a panic due to the recursion of `normalize` and `assign` (#1031)

**Description:**

```ts
// The following are errors because of circular references
var c: ty...

github.com/dudykr/stc - 7c76ed2314a82040efba2f82db951eee6c2c88bb authored over 1 year ago by 오병진 <[email protected]>
feat: Implement assignment rules for parameter count (#1027)

github.com/dudykr/stc - d932c27b1d597261cb37b9992868c63e01674e81 authored over 1 year ago by Donny/강동윤 <[email protected]>
perf: Partially revert #1011 (#1029)

**Description:**

This PR fixes a regression caused by 7dbc707eba809c74fa4979df034b337eb306b50b.

github.com/dudykr/stc - 7e9e8869c5fe62150e01e314965408d7cc164a3c authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve inference of a function argument with a literal type (#1028)

**Description:**

```ts
// @strict: true
// @target: esnext

declare function f1<T>(x: T, ...

github.com/dudykr/stc - cddb8744bde3da8d6896b0c863f8163441fb8c30 authored over 1 year ago by 오병진 <[email protected]>
perf: Make `check.sh` fast again (#1026)

github.com/dudykr/stc - 628757f12d261caa8ce869048c334cab2be7cde0 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve inference of function arguments (#1025)

**Description:**

```ts
// @strict: true
// @target: esnext

declare function f1<T>(x: T, ...

github.com/dudykr/stc - b00010acc54f0ee0bc352c11bdfc3be9dab6d0c9 authored over 1 year ago by 오병진 <[email protected]>
feat: Implement type param validation (#1011)

**Description:**
```ts
interface A<T extends string> {}
type a = A<number> // required error,...

github.com/dudykr/stc - 7dbc707eba809c74fa4979df034b337eb306b50b authored over 1 year ago by 오병진 <[email protected]>
refactor: Remove needless generalization in call/new (#1024)

github.com/dudykr/stc - c7fbd4c0f6aba1147c636d3e0d919922b9a731c1 authored over 1 year ago by 오병진 <[email protected]>
feat: Improve `extends` of `readonly` types (#1023)

**Description:**

```ts
type A = readonly string[] extends unknown[] ? string : never;

let...

github.com/dudykr/stc - 1abd656a96b67032b729433a6111bf67d7c7e1ee authored over 1 year ago by 오병진 <[email protected]>
test: Allow testing type aliases with `pass` testing (#1022)

github.com/dudykr/stc - 929fc931bb84d484c4facbbd0b2f0ffcb011a611 authored over 1 year ago by Donny/강동윤 <[email protected]>
refactor: Cleanup (#1018)

github.com/dudykr/stc - 0a09b6af79a50c088edccc8aaba75a1d89e08af9 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve overload resolution related to a type parameter (#1016)

github.com/dudykr/stc - 34ce99ca5fc0075b89506b12f18004da9408e076 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Fix regression related to constraints of type inferences (#1015)

**Related issue:**

- #751.

github.com/dudykr/stc - e64c86de071bcea87bc322078f3197c017de6ccb authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Make type inference of conditional types not flaky (#1014)

github.com/dudykr/stc - c3035479fa364591349b9c482c1b5c769962919d authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Respect type constraints while inferring types (#751)

**Description:**

- Abort on constraint mismatch.
- Don't report argument type mismatch if ...

github.com/dudykr/stc - a1606fe49fa1940744ff4de75bf93013d3734682 authored over 1 year ago by Donny/강동윤 <[email protected]>
chore(ci): Remove a flaky test (#1013)

github.com/dudykr/stc - 2b58b264286a3c66059203fe0627e416311918c6 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve type inference of a computed object element with a literal key (#1012)

**Description:**

```ts
{
get x() {
return "boolean" as const;
},
y: "s...

github.com/dudykr/stc - 04f7f0ce2ad7bbe465b79fbac1f8ff441984fe6c authored over 1 year ago by 오병진 <[email protected]>
fix: Fix `keyof` of tuple types (#1010)

github.com/dudykr/stc - 85d8f7365e195a3688bbdc13238f6a06a674322d authored over 1 year ago by Donny/강동윤 <[email protected]>
test: Remove context from error snapshots (#1009)

github.com/dudykr/stc - bce5657cd74e2189cff39f8eb9dd8604159d1d0b authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve handling of type params for classes and functions (#966)

**Description:**

Fixes some of incorrect number of type args passed and passing type args to ...

github.com/dudykr/stc - 18624b68e031b617b1e697705b1059273a6e7d8a authored over 1 year ago by Jesse Jafa <[email protected]>
test: Render errors for `base/errors` tests (#1006)

**Description:**

Note that, currently, the rendered errors contain ANSI code.

github.com/dudykr/stc - 1431ef5ddc57cc454633c9d2ee8bd92a889d0f9c authored over 1 year ago by Donny/강동윤 <[email protected]>
test: Update conformance test suite (#1002)

github.com/dudykr/stc - 5ba0cad658d71ed2d01ab93aa32df17175da3abd authored over 1 year ago by Donny/강동윤 <[email protected]>
feat(lsp): Render diagnostics (#1001)

github.com/dudykr/stc - fc96933ce32b2635abffb23aa9222eca59b90b3d authored over 1 year ago by Donny/강동윤 <[email protected]>
feat(lsp): Configure `salsa` (#993)

github.com/dudykr/stc - 8a688b60695335b8902cc7ee14d3e219f82e826a authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Handle union params to fn with spread (#998)

**Description:**

Handles the below cases:
```ts
declare function foo1(a: number, b: string,...

github.com/dudykr/stc - 1088c27fb3010dd99601264d9f83463a721349c3 authored over 1 year ago by Jesse Jafa <[email protected]>
feat: Consider scope while checking duplicate type aliases (#990)

github.com/dudykr/stc - 229a000973eb31c35d17848650548d9551303197 authored over 1 year ago by Jesse Jafa <[email protected]>
refactor: Move caching logic for builtin to `BuiltIn` from `Env` (#996)

github.com/dudykr/stc - d8b7616a789b4eb041d13b365c8f380317a391f7 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Fix usage of `swc_common::GLOBALS` (#995)

github.com/dudykr/stc - 4b0b2a2241d594dd7343635f68b7473d61957918 authored over 1 year ago by Donny/강동윤 <[email protected]>
refactor: Make `Checker` non-generic (#994)

github.com/dudykr/stc - b3476c5bf0429c0e3610eff13bad709278b83d02 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat(lsp/client): Connect `stc-debug-lsp` to lang server client (#992)

github.com/dudykr/stc - 8a582c7a3f23d0d0b54a8e3b58fcc511cdb41e30 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Configure dev env for LSP packages (#991)

**Description:**

The current goal is to provide a vscode extension that stc contributors can ...

github.com/dudykr/stc - 74ddceaeff9962ceddcd54cbd3251db6cd8b631d authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Handle type params with different name while merging decls (#987)

**Description:**

```ts
interface A<T> {}
interface A<U> {}

// both should error because ...

github.com/dudykr/stc - dce9791936c6488a187fc988d51361b327fe189d authored over 1 year ago by Jesse Jafa <[email protected]>
feat: Disallow using `this` in accessors (#989)

github.com/dudykr/stc - 366b8b7186d25dd5f7d0ab59f6e439592356a332 authored over 1 year ago by Togami <[email protected]>
fix: Don't remove type params from functions in args (#984)

**Related issue:**

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

github.com/dudykr/stc - cab0d9b4a5ffef5770a83dd9b12e536265ef34fa authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Handle different arity of type params for interfaces (#985)

github.com/dudykr/stc - 77880baf39b334ba712220619379356ffc57b537 authored over 1 year ago by Jesse Jafa <[email protected]>
fix: Treat a primitive type differently from the interface for the primitive type (#983)

github.com/dudykr/stc - 32d80edb2c18fa55ed57cbd9ea46af35853d5052 authored over 1 year ago by 오병진 <[email protected]>
feat: Improve arity check while assigning to tuples (#982)

github.com/dudykr/stc - 31c5b055069b5b33e82f97a426ffde7905b79229 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Ignore some normalization failures (#981)

github.com/dudykr/stc - 51aed1cf1cbee6afd23bbcfa10db5b5a8d38160e authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve logic for selecting overloads (#980)

**Related issue:**

- Closes https://github.com/dudykr/stc/issues/948.
- Closes https://git...

github.com/dudykr/stc - b4a7cd50ca07bd1fae335603a974ef22e19cafc9 authored over 1 year ago by 오병진 <[email protected]>
fix: Use `...args` as params while calling `any` (#978)

github.com/dudykr/stc - 85361dff709100c1ade4e8415fa2af6665bcc8b5 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: FIx eval order of JSX (#977)

github.com/dudykr/stc - b3e6e846ae9c6ea3405ef6338326a48764128f86 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Report an error for invalid override class method (#976)

github.com/dudykr/stc - 82a663b6d6773023969416dcfe84de0cac5f5bd3 authored over 1 year ago by Togami <[email protected]>
test: Implement more rules for testing file system (#975)

github.com/dudykr/stc - 8e722b52da0bfd531eb81a4a78c01c82bb93a10c authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Fix verification order of const enums (#974)

github.com/dudykr/stc - 83931f135bbf23fa4bef72437f9487ceb28f7572 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Use `any` for JSX fragments (#973)

**Description:**

TypeScript does not validate JSX Fragments properly.

**Related issue:**
...

github.com/dudykr/stc - 508b2bab619e616350332fc1f845879d5506c6c7 authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Create cond facts for RHS on `&&=` (#798)

**Related issue:**

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

github.com/dudykr/stc - 5f8ae3fffdbdd75110b2cf5fbce4ca36e75a8c91 authored over 1 year ago by Hyunwoong Kang <[email protected]>
feat: Merge tuple assign errors if it contains a rest element (#971)

github.com/dudykr/stc - d59fca4158bb7a580337609cb7d0d6c2ab3fcdc7 authored over 1 year ago by Donny/강동윤 <[email protected]>
refactor: Revert duplicate PR (#970)

github.com/dudykr/stc - ca753815a3bb3d50876ea8f1a78f4bc3b37689f7 authored over 1 year ago by Donny/강동윤 <[email protected]>
fix: Fix eval order of auto accessors (#969)

github.com/dudykr/stc - 134122356235ed83d95ca8265ead950618ec1bac authored over 1 year ago by Donny/강동윤 <[email protected]>
feat: Improve type casting with conditional types (#968)

github.com/dudykr/stc - 9b595130ac56b928730243718eac701294a1f213 authored over 1 year ago by 오병진 <[email protected]>
fix: Use correct error for instantiation of non-generic with type args (#967)

**Description:**

```ts
var f: { (): void };
export var r2 = new f<number>(); // 2558 instea...

github.com/dudykr/stc - 1e497e6937b99afaed33b1f371dbbb47939cf36f authored over 1 year ago by Jesse Jafa <[email protected]>
fix: Fix a panic related to a mapped type (#965)

github.com/dudykr/stc - e8cf60f9aa3fafb41cbf8261d6b82e60b4ce40f4 authored over 1 year ago by Donny/강동윤 <[email protected]>