Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
grubersjoe committed Dec 27, 2019
1 parent 02271d0 commit 371e852
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/plugin/optimizers/decorators.ts
Expand Up @@ -11,9 +11,9 @@ import { NodePath } from '@babel/core';
* This is an *optional* feature and has been created to meet our specific
* requirements at TeamShirts: It can be enabled by passing the
* --replaceDecorators to Reflow. While TypeScript supports decorators, it's
* not an easy task to correctly type them. Therefore we decided to remove them
* and to pass the exported class as argument to the decorator function. So
* this example code would be transformed as follows:
* not an easy task to correctly type them. Therefore we decided to remove
* decorators and to pass the exported class as argument to the decorator
* function. So this example code would be transformed as follows:
*
* @decorator
* class C {} => class C {}
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/util/file.ts
Expand Up @@ -3,7 +3,7 @@ import { cwd } from 'process';

export type TSFileExtension = '.ts' | '.tsx' | '.d.ts';

// Used to keep track what TyepScript extension output files should get
// Used to keep track what extension output files should get
export const FileTypes = new Map<string, TSFileExtension>();

export function relativePath(...pathSegments: string[]): string {
Expand Down

0 comments on commit 371e852

Please sign in to comment.