mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
[@types/findup-sync] fixed return type (#36168)
This commit is contained in:
committed by
Daniel Rosenwasser
parent
0a3059c52c
commit
65dd08ba89
Vendored
+2
-1
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
||||
// Nathan Brown <https://github.com/ngbrown>
|
||||
// BendingBender <https://github.com/BendingBender>
|
||||
// Kotaro Sugawara <https://github.com/kotarella1110>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
@@ -13,7 +14,7 @@ export = findupSync;
|
||||
declare function findupSync(
|
||||
patternOrPatterns: string[] | string,
|
||||
micromatchOptions?: findupSync.Options
|
||||
): string;
|
||||
): string | null;
|
||||
|
||||
declare namespace findupSync {
|
||||
interface Options extends micromatch.Options {
|
||||
|
||||
Reference in New Issue
Block a user