@types/ace-diff
Advanced tools
+14
-14
@@ -23,7 +23,7 @@ // Type definitions for ace-diff 2.1 | ||
| interface AceDiffLROpts { | ||
| content?: string | null; | ||
| mode?: string; | ||
| theme?: string; | ||
| editable?: boolean; | ||
| copyLinkEnabled?: boolean; | ||
| content?: string | null | undefined; | ||
| mode?: string | undefined; | ||
| theme?: string | undefined; | ||
| editable?: boolean | undefined; | ||
| copyLinkEnabled?: boolean | undefined; | ||
| } | ||
@@ -38,10 +38,10 @@ | ||
| interface AceDiffOpts { | ||
| mode?: string; | ||
| theme?: string; | ||
| diffGranularity?: 'specific' | 'broad'; | ||
| showDiffs?: boolean; | ||
| showConnectors?: boolean; | ||
| maxDiffs?: number; | ||
| left?: AceDiffLROpts; | ||
| right?: AceDiffLROpts; | ||
| mode?: string | undefined; | ||
| theme?: string | undefined; | ||
| diffGranularity?: 'specific' | 'broad' | undefined; | ||
| showDiffs?: boolean | undefined; | ||
| showConnectors?: boolean | undefined; | ||
| maxDiffs?: number | undefined; | ||
| left?: AceDiffLROpts | undefined; | ||
| right?: AceDiffLROpts | undefined; | ||
| classes?: { | ||
@@ -52,4 +52,4 @@ diff: string; | ||
| deletedCodeConnectorLinkContent: string; | ||
| }; | ||
| } | undefined; | ||
| } | ||
| } |
+1
-1
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/ace-diff", | ||
| "version": "2.1.0", | ||
| "version": "2.1.1", | ||
| "description": "TypeScript definitions for ace-diff", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff", | ||
| "license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
| "main": "", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git" | ||
| "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
| "directory": "types/ace-diff" | ||
| }, | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "581c90877965efa926439f6423142060fdcab216b1f00a2a5d8cd268eb3cee4d", | ||
| "typeScriptVersion": "2.0" | ||
| "typesPublisherContentHash": "c780443b3c39be9c60e36b60859fc43c5c7d0bf1917091a50bb583b6e0a7e3da", | ||
| "typeScriptVersion": "3.6" | ||
| } |
+61
-5
@@ -8,10 +8,66 @@ # Installation | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/ace-diff | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ace-diff/index.d.ts) | ||
| ````ts | ||
| // Type definitions for ace-diff 2.1 | ||
| // Project: https://ace-diff.github.io/ace-diff/ | ||
| // Definitions by: Mike Dodge <https://github.com/innovation-team> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| Additional Details | ||
| * Last updated: Tue, 22 May 2018 20:27:27 GMT | ||
| export as namespace AceDiff; | ||
| export = AceDiff; | ||
| declare class AceDiff { | ||
| constructor(opts: AceDiff.AceDiffConstructorOpts); | ||
| getEditors(): { | ||
| left: any; | ||
| right: any; | ||
| }; | ||
| setOptions(options: AceDiff.AceDiffOpts): void; | ||
| getNumDiffs(): number; | ||
| diff(): void; | ||
| destroy(): void; | ||
| } | ||
| declare namespace AceDiff { | ||
| interface AceDiffLROpts { | ||
| content?: string | null | undefined; | ||
| mode?: string | undefined; | ||
| theme?: string | undefined; | ||
| editable?: boolean | undefined; | ||
| copyLinkEnabled?: boolean | undefined; | ||
| } | ||
| interface AceDiffConstructorOpts extends AceDiffOpts { | ||
| element: string | HTMLElement; | ||
| left: AceDiffLROpts; | ||
| right: AceDiffLROpts; | ||
| } | ||
| interface AceDiffOpts { | ||
| mode?: string | undefined; | ||
| theme?: string | undefined; | ||
| diffGranularity?: 'specific' | 'broad' | undefined; | ||
| showDiffs?: boolean | undefined; | ||
| showConnectors?: boolean | undefined; | ||
| maxDiffs?: number | undefined; | ||
| left?: AceDiffLROpts | undefined; | ||
| right?: AceDiffLROpts | undefined; | ||
| classes?: { | ||
| diff: string; | ||
| connector: string; | ||
| newCodeConnectorLinkContent: string; | ||
| deletedCodeConnectorLinkContent: string; | ||
| } | undefined; | ||
| } | ||
| } | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Wed, 07 Jul 2021 21:44:00 GMT | ||
| * Dependencies: none | ||
| * Global values: AceDiff | ||
| * Global values: `AceDiff` | ||
| # Credits | ||
| These definitions were written by Mike Dodge <https://github.com/innovation-team>. | ||
| These definitions were written by [Mike Dodge](https://github.com/innovation-team). |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5664
53.75%0
-100%73
329.41%