Write tests
This commit is contained in:
@ -1,10 +1,8 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
|
||||
export interface IContentTypeAttributes {
|
||||
export class ContentTypeAttributes extends XmlAttributeComponent<{
|
||||
readonly xmlns?: string;
|
||||
}
|
||||
|
||||
export class ContentTypeAttributes extends XmlAttributeComponent<IContentTypeAttributes> {
|
||||
}> {
|
||||
protected readonly xmlKeys = {
|
||||
xmlns: "xmlns",
|
||||
};
|
||||
|
@ -1,11 +1,9 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
|
||||
export interface IDefaultAttributes {
|
||||
export class DefaultAttributes extends XmlAttributeComponent<{
|
||||
readonly contentType: string;
|
||||
readonly extension?: string;
|
||||
}
|
||||
|
||||
export class DefaultAttributes extends XmlAttributeComponent<IDefaultAttributes> {
|
||||
}> {
|
||||
protected readonly xmlKeys = {
|
||||
contentType: "ContentType",
|
||||
extension: "Extension",
|
||||
|
@ -1,11 +1,9 @@
|
||||
import { XmlAttributeComponent } from "file/xml-components";
|
||||
|
||||
export interface IOverrideAttributes {
|
||||
export class OverrideAttributes extends XmlAttributeComponent<{
|
||||
readonly contentType: string;
|
||||
readonly partName?: string;
|
||||
}
|
||||
|
||||
export class OverrideAttributes extends XmlAttributeComponent<IOverrideAttributes> {
|
||||
}> {
|
||||
protected readonly xmlKeys = {
|
||||
contentType: "ContentType",
|
||||
partName: "PartName",
|
||||
|
Reference in New Issue
Block a user