Skip to content

Commit fefb4aa

Browse files
committed
another round of typescript #1574
1 parent 610c3a9 commit fefb4aa

4 files changed

Lines changed: 461 additions & 530 deletions

File tree

examples/manifest_typings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"$(TYPINGS)/pebble/piu",
8686
"$(TYPINGS)/pebble/poco",
8787
"$(TYPINGS)/easing",
88+
"$(TYPINGS)/piu/MC",
8889
"$(TYPINGS)/piu/MC-types"
8990
]
9091
}

typings/pebble/global.d.ts

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,26 @@ declare const fetch: typeof import('fetch').fetch;
9393
Piu
9494
*/
9595

96-
declare const Application: ApplicationConstructor;
97-
declare const Behavior: BehaviorConstructor;
98-
declare const Column: ColumnConstructor;
99-
declare const Container: ContainerConstructor;
100-
declare const Content: ContentConstructor;
101-
declare const Label: LabelConstructor;
102-
declare const Link: LinkConstructor;
103-
declare const Locals: Locals;
104-
declare const Port: PortConstructor;
105-
declare const Row: RowConstructor;
106-
declare const Skin: SkinConstructor;
107-
declare const Style: StyleConstructor;
108-
declare const Text: TextConstructor;
109-
declare const Texture: TextureConstructor;
110-
declare const Transition: TransitionConstructor;
111-
112-
declare const InverterConstructor: InverterConstructor;
113-
declare const RoundRect: RoundRectConstructor;
114-
declare const ScreenBufferConstructor: ScreenBufferConstructor;
96+
type Application = import("piu/MC-types").Application;
97+
type Behavior = import("piu/MC-types").Behavior;
98+
type Column = import("piu/MC-types").Column;
99+
type Container = import("piu/MC-types").Container;
100+
type Content = import("piu/MC-types").Content;
101+
type ContentDictionary = import("piu/MC-types").ContentDictionary;
102+
type Label = import("piu/MC-types").Label;
103+
type Link = import("piu/MC-types").Link;
104+
type Locals = import("piu/MC-types").Locals;
105+
type Port = import("piu/MC-types").Port;
106+
type Row = import("piu/MC-types").Row;
107+
type Skin = import("piu/MC-types").Skin;
108+
type Style = import("piu/MC-types").Style;
109+
type Text = import("piu/MC-types").Text;
110+
type Texture = import("piu/MC-types").Texture;
111+
type Transition = import("piu/MC-types").Transition;
112+
113+
declare const Inverter: InverterConstructor;
114+
declare const RonndRect: RoundRectConstructor;
115+
declare const ScreenBuffer: ScreenBufferConstructor;
115116
declare const SVGImage: SVGImageConsructor;
116117

117118
/*

0 commit comments

Comments
 (0)