Skip to content

Commit fd776c0

Browse files
antfujakebailey
andauthored
fix: ata return type (#3002)
Co-authored-by: Jake Bailey <[email protected]>
1 parent 6168ef4 commit fd776c0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wicked-mice-pretend.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@typescript/ata": patch
3+
---
4+
5+
Fix return type of `setupTypeAcquisition`

packages/ata/src/userFacingTypes.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type ModuleMeta = { state: "loading" }
3333
* basically exported for tests and should be considered
3434
* implementation details by consumers.
3535
*/
36-
export const setupTypeAcquisition: (config: ATABootstrapConfig) => (initialSourceFile: string) => void
36+
export const setupTypeAcquisition: (config: ATABootstrapConfig) => (initialSourceFile: string) => Promise<void>
3737

3838
interface Logger {
3939
log: (...args: any[]) => void

0 commit comments

Comments
 (0)