Skip to content

Commit

Permalink
chore(deps): pin TypeScript version because ignore comments behavior …
Browse files Browse the repository at this point in the history
…changed
  • Loading branch information
lihbr committed Oct 5, 2023
1 parent f63f65e commit cdada4e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
matrix:
os: [ubuntu-latest]
node: [20]
typescript: ["4.6", "4.7", "4.8", "4.9", "5.0", "5.1", "5.2"]
typescript: ["4.6", "4.7", "4.8", "4.9", "5.0"]

steps:
- name: Set up Node
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"size-limit": "^9.0.0",
"standard-version": "^9.5.0",
"ts-expect": "^1.3.0",
"typescript": "^5.2.2",
"typescript": "~5.0.4",
"vite": "^4.4.11",
"vite-plugin-sdk": "^0.1.1",
"vitest": "^0.34.6"
Expand Down
4 changes: 2 additions & 2 deletions test/types/fields-link.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ expectType<prismic.LinkField<"foo">>({
tags: [],
lang: "string",
});
// @ts-expect-error - Document type must match the given type.
expectType<prismic.LinkField<"foo">>({
link_type: prismic.LinkType.Document,
id: "string",
// @ts-expect-error - Document type must match the given type.
type: "string",
tags: [],
lang: "string",
Expand All @@ -120,12 +120,12 @@ expectType<prismic.LinkField<string, "fr-fr">>({
tags: [],
lang: "fr-fr",
});
// @ts-expect-error - Document language must match the given type.
expectType<prismic.LinkField<string, "fr-fr">>({
link_type: prismic.LinkType.Document,
id: "string",
type: "string",
tags: [],
// @ts-expect-error - Document language must match the given type.
lang: "string",
});

Expand Down

0 comments on commit cdada4e

Please sign in to comment.