Skip to content

Commit 40e12ae

Browse files
committed
chore: adds explicit return type signature
1 parent f7cea23 commit 40e12ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loadScript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const loadScript = async (
9393
src: string,
9494
options: LoadScriptOptions = {},
9595
target: HTMLElement = document.head,
96-
) => {
96+
): Promise<HTMLScriptElement> => {
9797
const {
9898
id,
9999
async = true,

0 commit comments

Comments
 (0)