"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sleep = sleep;
exports.isTsDocument = isTsDocument;
function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}
function isTsDocument(document) {
    return document.languageId === 'javascript' ||
        document.languageId === 'typescript' ||
        document.languageId === 'javascriptreact' ||
        document.languageId === 'typescriptreact';
}
//# sourceMappingURL=utils.js.map