mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
264 B
TypeScript
18 lines
264 B
TypeScript
import CipherBase = require("cipher-base");
|
|
|
|
const buf = new Buffer(1);
|
|
|
|
class CipherTest extends CipherBase {
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
final() {
|
|
return buf;
|
|
}
|
|
|
|
update(testBuffer: Buffer) {
|
|
return testBuffer;
|
|
}
|
|
}
|