Skip to content

Commit

Permalink
TypeScript 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
surol committed Mar 17, 2024
1 parent e94b395 commit 1ba8eca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@run-z/eslint-config": "^3.5.0",
"@run-z/eslint-config": "^4.0.0",
"@run-z/prettier-config": "^2.0.0",
"@run-z/project-config": "^0.20.1",
"@run-z/project-config": "^0.20.2",
"@swc/core": "^1.4.8",
"@swc/jest": "^0.2.36",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"jest": "^29.7.0",
Expand All @@ -47,7 +47,7 @@
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.12",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"scripts": {
"all": "run-z +z build lint,test",
Expand Down
4 changes: 2 additions & 2 deletions src/classes/es-property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class EsProperty extends EsMember<EsPropertyHandle> {
code
.write(`get ${ref.key}() {`)
.scope({ kind: EsScopeKind.Function }, code => {
code.indent(get!(ref, hostClass));
code.indent(get(ref, hostClass));
})
.write('}');
}
Expand All @@ -57,7 +57,7 @@ export class EsProperty extends EsMember<EsPropertyHandle> {
.scope({ kind: EsScopeKind.Function }, (code, { ns }) => {
const value = ns.addSymbol(new EsVarSymbol('value'), asis);

code.write().indent(set!(value, ref, hostClass));
code.write().indent(set(value, ref, hostClass));
})
.write('}');
}
Expand Down
2 changes: 1 addition & 1 deletion src/code/es-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class EsCode implements EsEmitter {
}

return this.write((code, scope) => {
code.write(new EsCode().write(builder!).emit(scope.nest(init)));
code.write(new EsCode().write(builder).emit(scope.nest(init)));
});
}

Expand Down

0 comments on commit 1ba8eca

Please sign in to comment.