mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #65608 @types/word-extractor: fix class function name by @Fdawgs
This commit is contained in:
2
types/word-extractor/index.d.ts
vendored
2
types/word-extractor/index.d.ts
vendored
@@ -17,6 +17,6 @@ declare namespace WordExtractor {
|
||||
getFooters(): string;
|
||||
getAnnotations(): string;
|
||||
getTextboxes(options?: { includeHeadersAndFooters?: boolean | undefined; includeBody?: boolean | undefined }): string;
|
||||
getEndNotes(): string;
|
||||
getEndnotes(): string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user