chore: correct typo in jsdoc
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { UmbEntryPointModule } from '../models/entry-point.interface.js';
|
||||
|
||||
/**
|
||||
* Validate if an ESModule export has a function called 'befireInit'
|
||||
* Validate if an ESModule has exported a function called `beforeInit`
|
||||
*/
|
||||
export function hasBeforeInitExport(obj: unknown): obj is Pick<UmbEntryPointModule, 'beforeInit'> {
|
||||
return obj !== null && typeof obj === 'object' && 'beforeInit' in obj;
|
||||
|
||||
Reference in New Issue
Block a user