Browse Source

无jira任务,类型修改

es6
Guyi 5 years ago
parent
commit
925e44eb0d
  1. 8
      typescript/base/single/iframe/iframe.ts
  2. 6
      typescript/core/wrapper/layout/layout.absolute.ts
  3. 4
      typescript/core/wrapper/layout/layout.vertical.ts

8
typescript/base/single/iframe/iframe.ts

@ -1,11 +1,11 @@
import { _Single } from "../single"; import { _Single } from "../single";
export interface _Iframe extends _Single { export interface _Iframe extends _Single {
setSrc: (v: string) => void; setSrc(v: string): void;
getSrc: () => string; getSrc(): string;
setName: (v: string) => void; setNam(v: string): void;
getName: () => string; getName(): string;
} }

6
typescript/core/wrapper/layout/layout.absolute.ts

@ -1,9 +1,9 @@
import { _Layout } from "../layout"; import { _Layout } from "../layout";
export interface _AbsoluteLayout extends _Layout { export interface _AbsoluteLayout extends _Layout {
resize: () => void; resize(): void;
stroke: <T>(items: T[]) => void; stroke<T>(items: T[]): void;
populate: <T>(items?: T[]) => void; populate<T>(items?: T[]): void;
} }

4
typescript/core/wrapper/layout/layout.vertical.ts

@ -1,7 +1,7 @@
import { _Layout } from "../layout"; import { _Layout } from "../layout";
export interface _VerticalLayout extends _Layout { export interface _VerticalLayout extends _Layout {
resize: () => void; resize(): void;
populate: <T>(items?: T[]) => void; populate<T>(items?: T[]): void;
} }

Loading…
Cancel
Save