Skip to content

Commit

Permalink
docs: fix typo in documentation for explicit-function-return-type (#772)
Browse files Browse the repository at this point in the history
Resolves #769.
  • Loading branch information
Tarik Onalan authored and bradzacher committed Jul 29, 2019
1 parent f953cbd commit 24dac45
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -142,9 +142,9 @@ let objectPropCast = <ObjectType>{
declare functionWithArg(arg: () => number);
functionWithArg(() => 1);

declare functionWithObjectArg(arg: { meth: () => number });
declare functionWithObjectArg(arg: { method: () => number });
functionWithObjectArg({
meth() {
method() {
return 1;
},
});
Expand Down

0 comments on commit 24dac45

Please sign in to comment.