🤖 Merge PR #65608 @types/word-extractor: fix class function name by @Fdawgs

This commit is contained in:
Frazer Smith
2023-05-29 11:35:09 +01:00
committed by GitHub
parent 5317e1dc5f
commit a2fc2d871e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,6 +17,6 @@ declare namespace WordExtractor {
getFooters(): string;
getAnnotations(): string;
getTextboxes(options?: { includeHeadersAndFooters?: boolean | undefined; includeBody?: boolean | undefined }): string;
getEndNotes(): string;
getEndnotes(): string;
}
}

View File

@@ -5,7 +5,7 @@ const extractor = new WordExtractor();
extractor.extract('/path/to/file.doc').then(document => {
document.getBody(); // $ExpectType string
document.getAnnotations(); // $ExpectType string
document.getEndNotes(); // $ExpectType string
document.getEndnotes(); // $ExpectType string
document.getFootnotes(); // $ExpectType string
document.getHeaders(); // $ExpectType string
document.getHeaders(); // $ExpectType string