Stubbed Node and removed --lib dom from highlight.js

This commit is contained in:
Josh Goldberg
2017-11-24 13:15:12 -08:00
parent 3289762cca
commit 05003fe74b
2 changed files with 6 additions and 3 deletions
+5 -1
View File
@@ -1,10 +1,14 @@
// Type definitions for highlight.js v9.12
// Project: https://github.com/isagalaev/highlight.js
// Definitions by: Niklas Mollenhauer <https://github.com/nikeee>, Jeremy Hull <https://github.com/sourrust>
// Definitions by: Niklas Mollenhauer <https://github.com/nikeee>
// Jeremy Hull <https://github.com/sourrust>
// Josh Goldberg <https://github.com/joshuakgoldberg>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace hljs
{
interface Node { }
export function highlight(
name: string,
value: string,
+1 -2
View File
@@ -2,8 +2,7 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,