You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@types/codeflask

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/codeflask - npm Package Compare versions

Comparing version

to
1.4.1

34

codeflask/index.d.ts

@@ -9,4 +9,4 @@ // Type definitions for codeflask 1.4

export default class CodeFlask {
constructor(selectorOrElement: string | HTMLElement, opts: options);
declare class CodeFlask {
constructor(selectorOrElement: string | HTMLElement, opts: CodeFlask.options);
onUpdate(callback: (code: string) => void): void;

@@ -18,15 +18,19 @@ updateCode(newCode: string): void;

export interface options {
language?: string;
rtl?: boolean;
tabSize?: number;
enableAutocorrect?: boolean;
lineNumbers?: boolean;
defaultTheme?: boolean;
areaId?: string;
ariaLabelledby?: string;
readonly?: boolean;
handleTabs?: boolean;
handleSelfClosingCharacters?: boolean;
handleNewLineIndentation?: boolean;
export = CodeFlask;
declare namespace CodeFlask {
interface options {
language?: string;
rtl?: boolean;
tabSize?: number;
enableAutocorrect?: boolean;
lineNumbers?: boolean;
defaultTheme?: boolean;
areaId?: string;
ariaLabelledby?: string;
readonly?: boolean;
handleTabs?: boolean;
handleSelfClosingCharacters?: boolean;
handleNewLineIndentation?: boolean;
}
}
{
"name": "@types/codeflask",
"version": "1.4.0",
"version": "1.4.1",
"description": "TypeScript definitions for codeflask",

@@ -14,3 +14,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +25,4 @@ "type": "git",

},
"typesPublisherContentHash": "5e4d7bb5a288293c3730d2ea7511acb96368460aa12ef0a2af540f227e171b4f",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "302fd45db438cb9cd4a6e62c59c855065254843b6e402b17358d6c63e7cbc006",
"typeScriptVersion": "3.0"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codeflask
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codeflask.
Additional Details
* Last updated: Fri, 01 Nov 2019 22:14:19 GMT
* Dependencies: @types/prismjs
### Additional Details
* Last updated: Mon, 18 May 2020 16:30:06 GMT
* Dependencies: [@types/prismjs](https://npmjs.com/package/@types/prismjs)
* Global values: none
# Credits
These definitions were written by Joachim Holwech <https://github.com/holwech>.
These definitions were written by [Joachim Holwech](https://github.com/holwech).

Sorry, the diff of this file is not supported yet