mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Adding FineUploader typings * noImplicitThis true * adding tslint.json * tslint.json -> tslint * fixing some lintings * fixing lintings * removing version * added typescript version * defaults that are null/undefined now are | null/undefined respectively * removed minor version from fineuploader definition, removed typescript 2 version
17 lines
378 B
TypeScript
17 lines
378 B
TypeScript
/// <reference path="../index.d.ts" />
|
|
|
|
function pasteTest() {
|
|
const targetElement: HTMLElement = new HTMLElement();
|
|
|
|
const pasteOptions: qq.PasteOptions = {
|
|
defaultName: "pasted_image",
|
|
targetElement: targetElement
|
|
}
|
|
|
|
const config: qq.BasicOptions = {
|
|
paste: pasteOptions
|
|
};
|
|
|
|
const uploader = new qq.FineUploaderBasic(config);
|
|
}
|