Skip to content

Commit

Permalink
readme typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiiSharpov committed Dec 15, 2024
1 parent 7fe8fae commit 26f294c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ yarn add @evenstar/byteform
### Create a Binary Structure

```typescript
import { Struct, List, Text, u8, f32 } from '@evenstar/byteform';
import { Struct, List, text, u8, f32 } from '@evenstar/byteform';

const vec3 = new Struct({
x: f32,
Expand All @@ -60,7 +60,7 @@ const bullet = new Struct({
});

const Player = new Struct({
name: new Text(32),
name: text,
level: u8,
position: vec3,
bullets: new List(bullet)
Expand Down

0 comments on commit 26f294c

Please sign in to comment.