diff --git a/README.md b/README.md index 818d1ed..654c4a3 100644 --- a/README.md +++ b/README.md @@ -47,14 +47,14 @@ Javascript SDK for CloudEvents ```js /* - * Format the payload and return it. + * Format the payload and return an Object. */ -Cloudevent.format() +Object Cloudevent.format() /* * Format the payload as String. */ -Cloudevent.toString() +String Cloudevent.toString() ```