diff --git a/types/assets.d.ts b/types/assets.d.ts index ecc6330..bc83d6a 100644 --- a/types/assets.d.ts +++ b/types/assets.d.ts @@ -4,7 +4,7 @@ import {Color, LinearGradientFill, RadialGradientFill} from "./scenegraph"; * Represents the document styles listed in the Assets panel. Styles can be added and removed manually by the user, so there's no guarantee that these styles are currently used anywhere in the document's content. * **Since: ** XD 15 */ -export module assets { +declare module assets { /** * Type of gradient color element: linear gradient or radial gradient */ @@ -166,6 +166,6 @@ export module assets { */ public static delete(charStyleAssets: CharacterStyleAsset | Array): number; } +} - -} \ No newline at end of file +export = assets; \ No newline at end of file diff --git a/types/cloud.ts b/types/cloud.d.ts similarity index 96% rename from types/cloud.ts rename to types/cloud.d.ts index fa10a8c..bf88adf 100644 --- a/types/cloud.ts +++ b/types/cloud.d.ts @@ -1,4 +1,4 @@ -export module cloud { +declare namespace cloud { /** * Interactive prototype view generated via "Share for Review." */ @@ -101,5 +101,7 @@ export module cloud { * * @return {!Array} */ - declare function getSharedArtifacts(): Array; -} \ No newline at end of file + function getSharedArtifacts(): Array; +} + +export = cloud; \ No newline at end of file