Skip to content

types incomaptible

veeramarni edited this page Apr 11, 2017 · 2 revisions

issue:

 Types of property 'resource' are incompatible.
    Type 'Uri' is not assignable to type 'Uri'. Two different types with this name exist, but they are unrelated.

https://github.com/Microsoft/TypeScript/issues/6496

Workaround

Avoid ES6 import instead use require

const Uri = require('@vscode/uri');