Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4fc702f

Browse files
committedOct 23, 2020
plugin.d.ts: Make applications optionally async
1 parent 4632cd6 commit 4fc702f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node/plugin.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface Plugin {
5656
*
5757
* Ensure this is as fast as possible.
5858
*/
59-
applications(): Promise<Application[]>
59+
applications(): Application[] | Promise<Application[]>
6060

6161
/**
6262
* init passes the API interface to the plugin so that it may register its routes.

0 commit comments

Comments
 (0)
Please sign in to comment.