Skip to content

Commit 9c1a895

Browse files
committed
dont extend object
1 parent fd9494a commit 9c1a895

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libs/extension-api/functions/load-manifest-plain-js.function.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import type { JsLoaderProperty } from '../types/utils.js';
22

3-
export async function loadManifestPlainJs<JsType extends object>(
4-
property: JsLoaderProperty<JsType>,
5-
): Promise<JsType | undefined> {
3+
export async function loadManifestPlainJs<JsType>(property: JsLoaderProperty<JsType>): Promise<JsType | undefined> {
64
const propType = typeof property;
75
if (propType === 'function') {
86
// Promise function

0 commit comments

Comments
 (0)