diff --git a/v1/index.d.ts b/v1/index.d.ts index 4ea5df0..8585765 100644 --- a/v1/index.d.ts +++ b/v1/index.d.ts @@ -25,7 +25,7 @@ export interface Spec { * Function to create CloudEvents instances */ export function event(): Cloudevent { - return v1js.event(); + return new Cloudevent(); } export default Cloudevent;