Skip to content

Commit

Permalink
docs: fixing typos (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
corysmc committed Aug 10, 2020
1 parent 2d38267 commit e0961ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion STYLE_GUIDE.md
Expand Up @@ -212,7 +212,7 @@ export class Something {
connectedCallback() {}
componentWillLoad() {}
componentDidLoad() {}
disconnectedCallbac() {}
disconnectedCallback() {}

/**
* 8. Listeners
Expand Down
Expand Up @@ -95,7 +95,7 @@ export const validateMethods = (diagnostics: d.Diagnostic[], members: ts.NodeArr
if (method.name.getText() === 'componentDidUnload') {
const err = buildError(diagnostics);
err.header = `Replace "componentDidUnload()" with "disconnectedCallback()"`;
err.messageText = `The "componentDidUnload()" method was removed in Stencil 2. Please use the "disconnectedCallbac()" method instead.`;
err.messageText = `The "componentDidUnload()" method was removed in Stencil 2. Please use the "disconnectedCallback()" method instead.`;
augmentDiagnosticWithNode(err, method.name);
}
});
Expand Down

0 comments on commit e0961ed

Please sign in to comment.