A standardized ontology of Javascript types?

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com

Interesting. This reminds me of the effort 10 years ago to develop standardizes ontologies for XML or RDF.

interface VimeoParams {
interface VimeoPlayerAPI {
(method: string): any;
(method: string, callback: (value: any, player_id: any) =>void ): any;
(method: string, value: any): any;
(method: string, value: VimeoParams[]): any;
interface VimeoPlayer {
api: VimeoPlayerAPI;
addEvent(eventName: string, callback: (e: any) =>void ): any;
removeEvent(eventName: string): void;
postMessage(method: string, params:VimeoParams[], target): void;
storeCallback(eventName: string, callback, target_id: string);
getCallback(eventName: string, target_id: string);
removeCallback(eventName: string, target_id: string);
getDomainFromUrl(url: string): string;

declare var $f: VimeoPlayerAPI;