Skip to content

Commit 6ba6e27

Browse files
committed
Merge pull request microsoft#146 from NKCSS/master
Typo fix: Defualt -> Default
2 parents 531abfc + d34553f commit 6ba6e27

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pages/Functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Functions are the fundamental building block of any applications in JavaScript.
44
They're how you build up layers of abstraction, mimicking classes, information hiding, and modules.
5-
In TypeScript, while there are classes, namespaces, and modules, function still play the key role in describing how to *do* things.
5+
In TypeScript, while there are classes, namespaces, and modules, functions still play the key role in describing how to *do* things.
66
TypeScript also adds some new capabilities to the standard JavaScript functions to make them easier to work with.
77

88
# Functions

pages/Modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ $("button.continue").html( "Next Step..." );
148148
```
149149

150150
Classes and function declarations can be authored directly as default exports.
151-
Defualt export class and function declaration names are optional.
151+
Default export class and function declaration names are optional.
152152

153153
##### ZipCodeValidator.ts
154154

@@ -562,7 +562,7 @@ Conversly when importing:
562562
#### Consumer.ts
563563

564564
```ts
565-
import { SomeType, SomeFunc } from "./MyThings";
565+
import { SomeType, someFunc } from "./MyThings";
566566
let x = new SomeType();
567567
let y = someFunc();
568568
```

0 commit comments

Comments
 (0)