mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Tidy
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/// <reference path="pinterest-sdk.d.ts" />
|
||||
|
||||
// Examples from https://github.com/pinterest/pinterest-api-demo
|
||||
|
||||
const PIN_FIELDS = "id,name,image[small]";
|
||||
const PIN_SCOPE = "read_public, write_public";
|
||||
const CALLBACK = (...args: any[]) => {};
|
||||
const DATA = { board: "test", note: "test", link: "tets", image_url: "test" };
|
||||
|
||||
// Examples from https://github.com/pinterest/pinterest-api-demo
|
||||
|
||||
// Auth
|
||||
PDK.login({ scope : PIN_SCOPE }, CALLBACK);
|
||||
PDK.logout();
|
||||
|
||||
Reference in New Issue
Block a user