Skip to content

TypeError: Cannot read property 'escapedName' of undefined #29

@ravisharnagat

Description

@ravisharnagat

Getting following error:
Error: Failed to generate a codec for:

Getting this is stack trace:

TypeError: Cannot read property 'escapedName' of undefined
    at Object.isArrayType (/Users/ravisharnagat/ts-2-iots/types.js:50:24)
    at /Users/ravisharnagat/ts-2-iots/index.js:90:22
    at /Users/ravisharnagat/ts-2-iots/index.js:33:48
    at Array.map (<anonymous>)
    at /Users/ravisharnagat/ts-2-iots/index.js:52:14
    at /Users/ravisharnagat/ts-2-iots/index.js:107:42
    at handleDeclaration (/Users/ravisharnagat/ts-2-iots/index.js:128:69)
    at /Users/ravisharnagat/ts-2-iots/index.js:139:21
    at visitNodes (/Users/ravisharnagat/ts-2-iots/node_modules/typescript/lib/typescript.js:18973:30)
    at Object.forEachChild (/Users/ravisharnagat/ts-2-iots/node_modules/typescript/lib/typescript.js:19206:24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions