Auto import in angular typescript is not working · Issue #28773 · microsoft/TypeScript (original) (raw)

@micobarac

Steps to Reproduce:

  1. Create new angular app:
    ng new app
  2. Add new library:
    yarn add @datorama/akita
  3. Create session.model.ts:

export interface Session { id: ID; firstName: string; lastName: string; token: string; }

Auto import is not working. I get this error:

[ts] Cannot find name 'ID'. [2304]
any

Starting VSCode with code --disable-extensions didn't help :(