Return a new Cloudevent() ts impl
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
23fe17de97
commit
50b0da117f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue