error TS2688: Cannot find type definition file for 'nonexistent-types-pkg'.
  The file is in the program because:
    Entry point of type library 'nonexistent-types-pkg' specified in compilerOptions
