Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
build typescript glue source
Browse files Browse the repository at this point in the history
  • Loading branch information
jtenner committed Feb 5, 2019
1 parent f27aeaa commit e9acb84
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 10 deletions.
5 changes: 4 additions & 1 deletion lib/glue/AS2DGlue.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ASUtil } from "assemblyscript/lib/loader";
import { ICanvasSYS } from "../util/ICanvasSYS";
export declare class AS2DGlue<T> {
wasm: (ASUtil & T & ICanvasSYS) | null;
imports: any;
wasm: (ASUtil & T & ICanvasSYS) | null;
private id;
instantiateBuffer(buffer: any, imports: any): ASUtil & T & ICanvasSYS;
instantiateStreaming(response: Promise<Response>, imports: any): Promise<ASUtil & T & ICanvasSYS>;
Expand All @@ -17,5 +17,8 @@ export declare class AS2DGlue<T> {
private createPattern;
measureText(cvsobjid: number, text: number): number;
private render;
disposeCanvasPattern(id: number): void;
disposeImage(id: number): void;
disposeCanvasGradient(id: number): void;
}
//# sourceMappingURL=AS2DGlue.d.ts.map
2 changes: 1 addition & 1 deletion lib/glue/AS2DGlue.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 20 additions & 7 deletions lib/glue/AS2DGlue.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e9acb84

Please sign in to comment.