Documentation - v0.0.0
    Preparing search index...

    Function addPropertyAssignmentsFromObject

    • Maps simple objects to property assignments on ts-morph wrapped AST node.

      Type Parameters

      • T extends object

      Parameters

      • expression: ObjectLiteralExpression

        Wrapped object literal expression node.

      • obj: T

        object with properties to apply.

      Returns PropertyAssignment[]