mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
Fixed problems suggested by Travis
This commit is contained in:
8
bytebuffer/bytebuffer-tests.ts
Normal file
8
bytebuffer/bytebuffer-tests.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/// <reference path="bytebuffer.d.ts" />
|
||||
|
||||
import ByteBuffer = require("bytebuffer");
|
||||
|
||||
var bb = new ByteBuffer()
|
||||
.writeIString("Hello world!")
|
||||
.flip();
|
||||
console.log(bb.readIString()+" from bytebuffer.js");
|
||||
Reference in New Issue
Block a user