From 4258e6dab18a7149d199bcbcb55b83a29f42bca0 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 28 Nov 2017 16:05:13 -0600 Subject: rename for clarity --- packages/website/ts/pages/documentation/event_definition.tsx | 4 ++-- packages/website/ts/pages/documentation/method_signature.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/website/ts/pages/documentation') diff --git a/packages/website/ts/pages/documentation/event_definition.tsx b/packages/website/ts/pages/documentation/event_definition.tsx index 3b1b86112..469e6bb37 100644 --- a/packages/website/ts/pages/documentation/event_definition.tsx +++ b/packages/website/ts/pages/documentation/event_definition.tsx @@ -55,7 +55,7 @@ export class EventDefinition extends React.Component indexed; const eventArgs = _.map(this.props.event.eventArgs, (eventArg: EventArg) => { - const t = ( + const type = ( - {eventArg.name}{eventArg.isIndexed ? indexed : ''}: {t}, + {eventArg.name}{eventArg.isIndexed ? indexed : ''}: {type}, ); }); diff --git a/packages/website/ts/pages/documentation/method_signature.tsx b/packages/website/ts/pages/documentation/method_signature.tsx index 197252fb4..846c9fa4f 100644 --- a/packages/website/ts/pages/documentation/method_signature.tsx +++ b/packages/website/ts/pages/documentation/method_signature.tsx @@ -48,7 +48,7 @@ function renderParameters( const parameters = method.parameters; const params = _.map(parameters, (p: Parameter) => { const isOptional = p.isOptional; - const t = ( + const type = ( - {p.name}{isOptional && '?'}: {t} + {p.name}{isOptional && '?'}: {type} ); }); -- cgit