Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Noticing Interface 'PassageProfileElement' incorrectly extends interface 'HTMLElement' with 'latest' code I just cloned locally #7

@yalamarti

Description

@yalamarti

Hi

Seeing the following error when I use VS Code with the latest 'example-angular' repo code. Tried both the code as-is from repo. And creating an empty angular project and following the readme doc instructions. Upgraded to Angular 14 core/cli ... still getting the same error.

` ====================================================================
Initial Chunk Files | Names | Raw Size
main.js | main | 48.36 kB |
runtime.js | runtime | 6.52 kB |

3 unchanged chunks

Build at: 2022-09-22T22:29:47.896Z - Hash: 898edfcacc2daa57 - Time: 248ms

Error: ../node_modules/@passageidentity/passage-elements/dist/package/index.d.ts:8:11 - error TS2430: Interface 'PassageElement' incorrectly extends interface 'HTMLElement'.
Types of property 'lang' are incompatible.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.

8 interface PassageElement extends HTMLElement {
~~~~~~~~~~~~~~

==============================================

Versions that I have on my box

`
npm: '8.6.0',
node: '14.17.3',
v8: '8.4.371.23-node.67',
uv: '1.41.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.17.1',
modules: '83',
nghttp2: '1.42.0',
napi: '8',
llhttp: '2.1.3',

Angular CLI: 13.3.9
Node: 14.17.3
Package Manager: npm
Screenshot 2022-09-22 184411
8.6.0
OS: win32 x64

Angular: 13.3.11
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1303.9
@angular-devkit/build-angular 13.3.9
@angular-devkit/core 13.3.9
@angular-devkit/schematics 13.3.9
@angular/cli 13.3.9
@schematics/angular 13.3.9
rxjs 7.5.6
typescript 4.6.4
`

VS Code version

Version: 1.71.2 (user setup)
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:03:37.738Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions