Skip to content

Instantly share code, notes, and snippets.

Steven Vachon stevenvachon

Block or report user

Report or block stevenvachon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View @finos--perspective-viewer--index.d.ts
declare module '@finos/perspective-viewer' {
export interface PerspectiveViewer extends PerspectiveViewerOptions, HTMLElement {
load(data: TableData | Table, options?: TableOptions): void;
load(schema: Schema, options?: TableOptions): void;
update(data: TableData): void;
notifyResize(): void;
delete(delete_table: boolean): Promise<void>;
clear() : void;
replace(data: TableData) : void;
flush(): Promise<void>;
@stevenvachon
stevenvachon / yarnlink.ts
Last active Dec 14, 2019
grafana yarnlink
View yarnlink.ts
View async-await.js
try {
const resumes = await this.getResumes();
if (resumes.length > 0) {
this.setState({
resume: await this.getResume(resumes[0])
});
}
} catch(error) {
console.error(error);
@stevenvachon
stevenvachon / promises.js
Last active Oct 16, 2015
easy way to understand javascript promises
View promises.js
"use strict";
var p1 = new Promise( function(resolve) {
resolve();
});
var p2 = new Promise( function(resolve) {
resolve();
});
You can’t perform that action at this time.