Skip to content

Commit

Permalink
Fixed a few issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Feb 4, 2019
1 parent 906fcfa commit f1223e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions types/assets.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -166,6 +166,6 @@ export module assets {
*/
public static delete(charStyleAssets: CharacterStyleAsset | Array<CharacterStyleAsset>): number;
}
}


}
export = assets;
8 changes: 5 additions & 3 deletions types/cloud.ts → types/cloud.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export module cloud {
declare namespace cloud {
/**
* Interactive prototype view generated via "Share for Review."
*/
Expand Down Expand Up @@ -101,5 +101,7 @@ export module cloud {
*
* @return {!Array<!PrototypeArtifact|SpecsArtifact>}
*/
declare function getSharedArtifacts(): Array<PrototypeArtifact | SpecsArtifact>;
}
function getSharedArtifacts(): Array<PrototypeArtifact | SpecsArtifact>;
}

export = cloud;

0 comments on commit f1223e9

Please sign in to comment.