Skip to content

Typescript Error Cannot find name 'unknown'. #3174

@kodeine

Description

@kodeine

I'm submitting a ... (check one with "x")
[x] bug report

image

$ ionic serve
> ionic-app-scripts serve --address localhost --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] [16:17:45]  ionic-app-scripts 3.2.4 
[app-scripts] [16:17:45]  watch started ... 
[app-scripts] [16:17:46]  build dev started ... 
[app-scripts] [16:17:46]  clean started ... 
[app-scripts] [16:17:46]  clean finished in 101 ms 
[app-scripts] [16:17:46]  copy started ... 
[app-scripts] [16:17:47]  copy finished in 889 ms 
[app-scripts] [16:17:47]  deeplinks started ... 
[app-scripts] [16:17:50]  deeplinks finished in 2.83 s 
[app-scripts] [16:17:50]  transpile started ... 
[app-scripts] [16:18:06]  typescript: node_modules/@ionic-native/core/decorators/common.d.ts, line: 10 
[app-scripts]             Cannot find name 'unknown'. 
[app-scripts]        L9:  export declare function wrapPromise(pluginObj: any, methodName: string, args: any[], opts?: CordovaOptions): Promise<unknown>;
[app-scripts]       L11:   * Checks if plugin/cordova is available


Ionic Framework: ^3.9.2
Ionic App Scripts: 3.2.4
Angular Core: ^5.2.11
Angular Compiler CLI: ^5.2.11
Node: 11.5.0
OS Platform: macOS High Sierra

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions