Change typescript def to ambient module declaration. #8