]> git.wincent.com - wincent.git/commit
refactor: show that imports aren't working well
authorGreg Hurrell <greg@hurrell.net>
Wed, 18 Mar 2020 20:14:57 +0000 (21:14 +0100)
committerGreg Hurrell <greg@hurrell.net>
Fri, 20 Mar 2020 09:53:24 +0000 (10:53 +0100)
commita213ddf69d3213882808b5c5ff0e000bcd83fe98
tree3cbc3274ee6e274decb8fb6180a932acdd0d062e
parent8809a1681cfd8fd02eb40113d2485d7cadc10e4c
refactor: show that imports aren't working well

Sadly, we can't do imports without TS screaming bloody murder in Vim:

    An import path cannot end with a '.d.ts' extension

etc

Related:

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

We can suppress the error, but either way, the editor can't see the
types, sadly obviating one of the big upsides of using TypeScript.
lib/main.ts
lib/other.ts [new file with mode: 0644]
tsconfig.json