File tree 5 files changed +27
-7
lines changed
5 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,3 @@ export type NotUndefined<T> = T extends undefined ? never : T
22
22
export function isNotUndefined < T > ( value : T | undefined ) : value is NotUndefined < T > {
23
23
return value !== undefined
24
24
}
25
-
26
- export interface Stringable {
27
- toString : ( ) => string
28
- }
Original file line number Diff line number Diff line change
1
+ /*!
2
+ This file is part of CycloneDX JavaScript Library.
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ SPDX-License-Identifier: Apache-2.0
17
+ Copyright (c) OWASP Foundation. All Rights Reserved.
18
+ */
19
+
20
+ export interface Stringable {
21
+ toString : ( ) => string
22
+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ SPDX-License-Identifier: Apache-2.0
17
17
Copyright (c) OWASP Foundation. All Rights Reserved.
18
18
*/
19
19
20
- import { isNotUndefined , Stringable } from '../../helpers/types'
20
+ import { isNotUndefined } from '../../helpers/notUndefined'
21
+ import { Stringable } from '../../helpers/stringable'
21
22
import * as Models from '../../models'
22
23
import { Protocol as Spec , Version as SpecVersion } from '../../spec'
23
24
import { NormalizerOptions } from '../types'
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ SPDX-License-Identifier: Apache-2.0
17
17
Copyright (c) OWASP Foundation. All Rights Reserved.
18
18
*/
19
19
20
- import { isNotUndefined , Stringable } from '../../helpers/types'
20
+ import { isNotUndefined } from '../../helpers/notUndefined'
21
+ import { Stringable } from '../../helpers/stringable'
21
22
import * as Models from '../../models'
22
23
import { Protocol as Spec , Version as SpecVersion } from '../../spec'
23
24
import { NormalizerOptions } from '../types'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ SPDX-License-Identifier: Apache-2.0
17
17
Copyright (c) OWASP Foundation. All Rights Reserved.
18
18
*/
19
19
20
- import { isNotUndefined } from '../helpers/types '
20
+ import { isNotUndefined } from '../helpers/notUndefined '
21
21
import { SerializerOptions } from './types'
22
22
import { XmlBaseSerializer } from './xmlBaseSerializer'
23
23
import { SimpleXml } from './xml/types'
You can’t perform that action at this time.
0 commit comments