Skip to content

Commit 2204e04

Browse files
authored
Update README.md
1 parent 6d4a3b3 commit 2204e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ More concretely named `@fluffy-spoon/substitute` on NPM is a TypeScript port of
77
## Usage
88
Experience full strong-typing of your fakes all the way, and let the TypeScript compiler help with all the dirty work! In the usage example given below, the `exFake` instance is strong-typed all the way, and can be used naturally in a fluent interface!
99

10-
```
10+
```typescript
1111
class Example {
1212
a = "1337";
1313
b = 1337;
@@ -50,4 +50,4 @@ console.log(exFake.d); //prints 9
5050
```
5151

5252
## But how?
53-
`@fluffy-spoon/substitute` works the same way that NSubstitute does, except that it uses the EcmaScript 6 `Proxy` class to produce the fakes. You can read more about how NSubstitute works to get inspired.
53+
`@fluffy-spoon/substitute` works the same way that NSubstitute does, except that it uses the EcmaScript 6 `Proxy` class to produce the fakes. You can read more about how NSubstitute works to get inspired.

0 commit comments

Comments
 (0)