Skip to content

Commit

Permalink
Update vk-openapi tests (DefinitelyTyped#64741)
Browse files Browse the repository at this point in the history
Old-style octal literals become syntax errors in an upcoming TS PR: microsoft/TypeScript#51837
But syntax errors can't be silenced with ts-expect-error, and the octal
literal is not important to the vk-openapi test in question, so change
it to use new octal syntax.
  • Loading branch information
sandersn authored and Vicary A committed Jun 29, 2023
1 parent a01ae03 commit efa81e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vk-openapi/vk-openapi-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ const params2: vk.OpenAPI.Retargeting.ProductEventParams = {
// @ts-expect-error
business_value: '100',
// @ts-expect-error
currency_code: 007,
currency_code: 0o7,
// @ts-expect-error
total_price: '666',
// @ts-expect-error
Expand Down

0 comments on commit efa81e8

Please sign in to comment.