This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Commit 112d405
committed
Modify the upstream TypeScript types by marking
This means that a `PublicKeyCredentialWithClientExtensionResults` is no
longer a subtype of the version of `PublicKeyCredential` in the latest
version of TypeScript, but `webauthn-json` will be forwards and
backwards compatible with TypeScript (i.e. without compilation errors)
for now.
See:
- Typescript 4.9.4: Types of property 'authenticatorAttachment' are incompatible #73 (comment)
- `authenticatorAttachment` field on `PublicKeyCredential` is incompatible with Firefox microsoft/TypeScript-DOM-lib-generator#1477authenticatorAttachment as optional on PublicKeyCredential for now.1 parent 84d20bf commit 112d405
3 files changed
Lines changed: 13 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments