Skip to content

Commit

Permalink
cleanup: remove unused polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Apr 6, 2023
1 parent d4bfc96 commit 15a3fbc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/polyfill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ import { onServicesInitialized } from './service-override/tools'
// Unfortunately, it makes some class not respect anymore the interface they are supposed to implement
// In this file we are restoring some method that are treeshaked out of monaco-editor but that are needed in this library

if (SnippetParser.prototype.text == null) {
SnippetParser.prototype.text = function (value: string) {
return this.parse(value).toString()
}
} else {
console.warn('Useless polyfill: SnippetParser')
}

/**
* Assign all properties of b to A
*/
Expand Down

0 comments on commit 15a3fbc

Please sign in to comment.