Function: fileToTextDocument()
fileToTextDocument(
file
):Promise
<TextDocument
>
Defined in: packages/cspell-lib/src/lib/Document/resolveDocument.ts:33
Parameters
file
string
Returns
Promise
<TextDocument
>
fileToTextDocument(
file
):Promise
<TextDocument
>
Defined in: packages/cspell-lib/src/lib/Document/resolveDocument.ts:33
string
Promise
<TextDocument
>