Catalog alignment
[sdc.git] / catalog-ui / src / typings / jsMd5 / md5.d.ts
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 // Type definitions for js-md5 v0.3.0
21 // Project: https://github.com/emn178/js-md5
22 // Definitions by: Roland Greim <https://github.com/tigerxy>
23 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/
24
25 /// <reference path="../../../node_modules/@types/jquery/index.d.ts"/>
26
27 interface JQuery {
28     md5(value: string): string;
29     md5(value: Array<any>): string;
30     md5(value: Uint8Array): string;
31 }
32
33 interface JQueryStatic {
34     md5(value: string): string;
35     md5(value: Array<any>): string;
36     md5(value: Uint8Array): string;
37 }
38
39 interface md5 {
40     (value: string): string;
41     (value: Array<any>): string;
42     (value: Uint8Array): string;
43 }
44
45 interface String {
46     md5(value: string): string;
47     md5(value: Array<any>): string;
48     md5(value: Uint8Array): string;
49 }
50
51 declare module "js-md5" {
52     export = md5;
53 }
54
55 declare var md5: md5;