UNPKG

ts-lit-plugin

Version:

Typescript plugin that adds type checking and code completion to lit-html

11 lines (10 loc) 274 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.translateRange = void 0; function translateRange(range) { return { start: range.start, length: range.end - range.start }; } exports.translateRange = translateRange;