Fix for typescript 0.9.7.

This commit is contained in:
satoru kimura
2014-02-26 14:13:17 +09:00
parent e4206fbea2
commit bb9cf5d3c3
2 changed files with 67 additions and 68 deletions
+4 -5
View File
@@ -106,6 +106,8 @@ declare module CryptoJS{
interface Cipher extends ICipher<Object>{}
interface IStreamCipher<C> extends ICipher<C>{
drop?: number;
createEncryptor(key: WordArray, cfg?: C): IStreamCipher<C>
createDecryptor(key: WordArray, cfg?: C): IStreamCipher<C>
@@ -338,10 +340,7 @@ declare module CryptoJS{
interface PBKDF2 extends EvpKDF{} //PBKDF2 is same as EvpKDF
interface RC4Drop extends RC4, lib.ICipher<IRC4DropCfg>{}
interface IRC4DropCfg{
drop?: number //default 192
}
interface RC4Drop extends RC4 { }
}
module mode{
@@ -438,7 +437,7 @@ declare module CryptoJS{
RabbitLegacy: CryptoJS.lib.CipherHelper
Rabbit: CryptoJS.lib.CipherHelper
RC4: CryptoJS.lib.CipherHelper
RC4Drop: CryptoJS.lib.ICipherHelper<CryptoJS.algo.IRC4DropCfg>
RC4Drop: CryptoJS.lib.ICipherHelper<Object>
MD5: CryptoJS.lib.HasherHelper
HmacMD5: CryptoJS.lib.IHasherHmacHelper