Skip to content

Commit

Permalink
0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Schascha committed Oct 7, 2024
1 parent aeb4807 commit 784a4ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schascha/brabbelback",
"version": "0.7.0",
"version": "0.8.0",
"description": "Just some JS utils",
"main": "index.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @returns {Promise} A promise that resolves when the script has been injected
*/

export function injectScript(src: string) {
export function injectScript(src: string): Promise<any> {
return new Promise((resolve, reject) => {
if (document.querySelector(`script[src="${src}"]`)) {
return resolve;
Expand Down

0 comments on commit 784a4ad

Please sign in to comment.