Skip to content

Commit

Permalink
Merge pull request #1102 from terascope/bump-typscript-5.2.2
Browse files Browse the repository at this point in the history
Bump Typscript 5.2.2
  • Loading branch information
busma13 authored Jan 30, 2024
2 parents 9bf1bc0 + 0f3a015 commit 9240833
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion asset/src/elasticsearch_data_generator/data-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function getFormatFunction(format: DateOptions, options: FormatOptions = {}) {
export default function getSchema(opConfig: DataGenerator, otherSchema: AnyObject): AnyObject {
const startDate = opConfig.start ? moment(opConfig.start) : moment(0); // 01 January, 1970 UTC
const endDate = opConfig.end ? moment(opConfig.end) : moment();
const schema = isEmpty(otherSchema) ? nativeSchema : otherSchema;
const schema: AnyObject = isEmpty(otherSchema) ? nativeSchema : otherSchema;
const start = startDate.valueOf();
const end = endDate.valueOf();
const diff = end - start;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"node-notifier": "^10.0.1",
"teraslice-test-harness": "^0.29.0",
"ts-jest": "^29.1.2",
"typescript": "^4.9.5"
"typescript": "~5.2.2"
},
"engines": {
"node": ">=16.19.0",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"ignoreDeprecations": "5.0",
"disableReferencedProjectLoad": true,
"typeRoots": [
"./node_modules/@types"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6340,10 +6340,10 @@ typedoc@~0.25.4:
minimatch "^9.0.3"
shiki "^0.14.7"

typescript@^4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
typescript@~5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==

uglify-js@^3.1.4:
version "3.17.3"
Expand Down

0 comments on commit 9240833

Please sign in to comment.