Skip to content

I cannot extend a Typescript Script Include into a ServiceNow proper Script Include #205

Description

@brandonsmith-nuvolo

If I have a Script Include that I created via Sincronia and is Typescript. I cannot extend that Script Include via the typical extension method.

var SiName = Class.create();
SiName.prototype = Object.extendsObject(TypescriptSi, ({
    initialize: function() {
    },

    type: 'SiName'
}));

If you were to run this code, when this Script Include is instantiated you will see an error

"TypeError: Method "toString" called on incompatible object."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions