mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Lint test files too (#14791)
This commit is contained in:
@@ -1,22 +1,19 @@
|
||||
import * as React from "react"
|
||||
|
||||
import * as MaskedInput from "react-maskedinput"
|
||||
import * as React from "react";
|
||||
import * as MaskedInput from "react-maskedinput";
|
||||
|
||||
class Test extends React.Component<any, any> {
|
||||
|
||||
public render () {
|
||||
render() {
|
||||
return (
|
||||
<MaskedInput mask="111"
|
||||
placeholderChar="X"
|
||||
formatCharacter={
|
||||
{
|
||||
"a" : {
|
||||
a: {
|
||||
validate: (char: string) => char,
|
||||
transform: (char: string) => char
|
||||
}
|
||||
}
|
||||
} />
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user