mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
227 B
TypeScript
13 lines
227 B
TypeScript
import CodeFlask from 'codeflask';
|
|
|
|
const flask = new CodeFlask(new HTMLElement(), {
|
|
language: 'js',
|
|
defaultTheme: false
|
|
});
|
|
|
|
flask.onUpdate((code) => { });
|
|
|
|
flask.updateCode('Test');
|
|
|
|
const code: string = flask.getCode();
|