oxc/crates/oxc_isolated_declarations/tests/fixtures
Egor Blinov 7768d233c6
feat(isolated-declarations): support optional class methods (#4035)
Example class
```
export class A {
  m1?(): void;
  m2(): void {}
}
```

Before the fix:
```
export declare class A {
  m1(): void;
}
```

with the fix:
```
export declare class A {
  m1?(): void;
  m2(): void;
}
```
2024-07-03 09:46:59 +08:00
..
arrow-function-return-type.ts feat(isolated-declarations): shrink span for arrow function that needs an explicit return type (#3752) 2024-06-19 14:33:24 +00:00
as-const.ts feat(isolated-declarations): transform const expression correctly (#3793) 2024-06-20 15:02:41 +00:00
async-function.ts fix(isolated-declarations): should stripe async and generator keyword after transformed (#3790) 2024-06-20 10:13:44 +00:00
class.ts feat(isolated-declarations): support optional class methods (#4035) 2024-07-03 09:46:59 +08:00
declare-global.ts fix(isolated-declarations): if declarations is referenced in declare global then keep it (#3982) 2024-06-30 11:34:04 +00:00
eliminate-imports.ts feat(codegen): print TSClassImplements and TSThisParameter (#3786) 2024-06-20 06:15:23 +00:00
empty-export.ts feat(isolated-declarations): add export {} when needed (#3754) 2024-06-19 14:33:27 +00:00
empty-export2.ts fix(isolated-declarations): should emit export {} when only having ImportDeclaration (#4026) 2024-07-02 13:47:30 +00:00
expando-function.ts feat(isolated-declarations): report error for expando functions (#3872) 2024-06-24 10:56:23 +00:00
function-overloads.ts fix(isolated-declarations): transform incorrectly when there are multiple functions with the same name (#3753) 2024-06-19 14:33:25 +00:00
function-parameters.ts fix(isolated-declarations): report an error for parameters if they are ObjectPattern or ArrayPattern without an explicit type (#3810) 2024-06-21 10:20:28 +00:00
generator.ts fix(isolated-declarations): should stripe async and generator keyword after transformed (#3790) 2024-06-20 10:13:44 +00:00
infer-expression.ts fix(isolated-declarations): inferring of UnrayExpression incorrectly (#3920) 2024-06-26 07:21:35 +00:00
infer-return-type.ts fix(isolated-declarations): inferring an incorrect return type when there is an arrow function inside a function (#3768) 2024-06-19 15:43:15 +00:00
infer-template-literal.ts feat(isolated-declarations): improve the inference template literal (#3797) 2024-06-20 15:02:45 +00:00
mapped-types.ts fix(isolated_declarations): add mapped-type constraint to the scope (#4037) 2024-07-03 09:45:03 +08:00
non-exported-binding-elements.ts fix(isolated-declarations): binding elements with export should report an error (#4025) 2024-07-02 13:47:28 +00:00
readonly.ts feat(codegen): print readonly keyword for TSIndexSignature (#3791) 2024-06-20 10:13:51 +00:00
set-get-accessor.ts feat(isolated-declarations): improve inferring the type of accessor (#3749) 2024-06-19 14:06:02 +00:00