Browse Source

refactor: 补充声明

es6
Kira 3 years ago
parent
commit
118f33ab07
  1. 4
      typescript/base/single/img/img.ts

4
typescript/base/single/img/img.ts

@ -3,6 +3,10 @@ import { Single } from "../single";
export declare class Img extends Single { export declare class Img extends Single {
static xtype: string; static xtype: string;
props: {
src: string;
} & Single['props'];
setSrc(src: string): void; setSrc(src: string): void;
getSrc(): string; getSrc(): string;
} }

Loading…
Cancel
Save