diff --git a/bittorrent-protocol/bittorrent-protocol-tests.ts b/bittorrent-protocol/bittorrent-protocol-tests.ts index 227e4c3606..f5f6b4649f 100644 --- a/bittorrent-protocol/bittorrent-protocol-tests.ts +++ b/bittorrent-protocol/bittorrent-protocol-tests.ts @@ -3,7 +3,7 @@ import * as net from 'net'; class TestExtension implements Protocol.Extension { constructor(protected wire: Protocol.Wire) { } - name: 'extname'; + name = 'extname'; } net.createServer(socket => {