Skip to content

Commit

Permalink
Merge pull request #567 from streamich/upgrade-ts
Browse files Browse the repository at this point in the history
Upgrade TypeScript
  • Loading branch information
streamich authored Apr 8, 2024
2 parents 789befd + 07fb569 commit f35de79
Show file tree
Hide file tree
Showing 4 changed files with 319 additions and 214 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@
"@shelacek/ubjson": "^1.1.1",
"@types/benchmark": "^2.1.2",
"@types/jest": "^29.5.12",
"@types/quill": "^2.0.10",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@types/quill": "^2.0.14",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"ajv": "^8.11.0",
"app-root-path": "^3.1.0",
"axios": "^1.3.5",
Expand Down Expand Up @@ -206,14 +206,14 @@
"tslib": "^2.6.2",
"tslint": "^6.1.3",
"tslint-config-common": "^1.6.2",
"typedoc": "^0.25.12",
"typescript": "^5.3.3",
"typedoc": "^0.25.13",
"typescript": "^5.4.4",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.23.0",
"webpack": "^5.84.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"websocket": "^1.0.34",
"ws": "^8.14.2",
"ws": "^8.16.0",
"yjs": "13.6.9",
"ywasm": "0.16.10"
},
Expand Down
2 changes: 1 addition & 1 deletion src/json-type-value/ObjectValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class ObjectValue<T extends classes.ObjectType<any>> extends Value<T> {
const system = type.system;
if (!system) throw new Error('NO_SYSTEM');
const extendedType = system.t.Object(...type.fields, field);
return new ObjectValue(extendedType, extendedData) as any;
return new ObjectValue(extendedType, extendedData as any) as any;
}

public prop<K extends string, V extends classes.Type>(
Expand Down
1 change: 1 addition & 0 deletions src/json-type/type/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './types';
export * from './classes';

import {TypeBuilder} from './TypeBuilder';

Expand Down
Loading

0 comments on commit f35de79

Please sign in to comment.