russian-bad-words
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -20,5 +20,5 @@ interface WordType<Type extends string> { | ||
} | ||
declare type SingularNoun = WordType<'singular noun'> & SingularNounForms; | ||
declare type PluralNoun = WordType<'plural noun'> & SingularNounForms; | ||
declare type Noun = WordType<'noun'> & SingularNounForms & PluralNounForms; | ||
export declare type SingularNoun = WordType<'singular noun'> & SingularNounForms; | ||
export declare type PluralNoun = WordType<'plural noun'> & SingularNounForms; | ||
export declare type Noun = WordType<'noun'> & SingularNounForms & PluralNounForms; | ||
interface InvfinitiveVerbForms { | ||
@@ -53,8 +53,9 @@ infinitive: string; | ||
} | ||
declare type ImperfectiveVerb = WordType<'imperfective verb'> & InvfinitiveVerbForms & IndicativePastVerbForms & IndicativePresentVerbForms & ImperativeVerbForms; | ||
declare type PerfectiveVerb = WordType<'perfective verb'> & InvfinitiveVerbForms & IndicativePastVerbForms & IndicativeFutureVerbForms & ImperativeVerbForms; | ||
export declare type ImperfectiveVerb = WordType<'imperfective verb'> & InvfinitiveVerbForms & IndicativePastVerbForms & IndicativePresentVerbForms & ImperativeVerbForms; | ||
export declare type PerfectiveVerb = WordType<'perfective verb'> & InvfinitiveVerbForms & IndicativePastVerbForms & IndicativeFutureVerbForms & ImperativeVerbForms; | ||
interface InterjectionForms { | ||
interjection: string; | ||
} | ||
declare type Interjection = WordType<'interjection'> & InterjectionForms; | ||
declare type Word = SingularNoun | PluralNoun | Noun | ImperfectiveVerb | PerfectiveVerb | Interjection; | ||
export declare type Interjection = WordType<'interjection'> & InterjectionForms; | ||
export declare type Word = SingularNoun | PluralNoun | Noun | ImperfectiveVerb | PerfectiveVerb | Interjection; | ||
export {}; |
@@ -0,2 +1,3 @@ | ||
import { Word } from '../types'; | ||
declare const words: Array<Word>; | ||
export default words; |
@@ -0,2 +1,3 @@ | ||
import { Interjection } from '../../types'; | ||
declare const interjections: Array<Interjection>; | ||
export default interjections; |
@@ -0,2 +1,3 @@ | ||
import { Interjection } from '../../types'; | ||
declare const бля: Interjection; | ||
export default бля; |
@@ -0,2 +1,3 @@ | ||
import { Noun, PluralNoun, SingularNoun } from '../../types'; | ||
declare const nouns: Array<SingularNoun | PluralNoun | Noun>; | ||
export default nouns; |
@@ -0,2 +1,3 @@ | ||
import { Noun } from '../../types'; | ||
declare const пизда: Noun; | ||
export default пизда; |
@@ -0,2 +1,3 @@ | ||
import { Noun } from '../../types'; | ||
declare const хуй: Noun; | ||
export default хуй; |
@@ -0,2 +1,3 @@ | ||
import { ImperfectiveVerb, PerfectiveVerb } from '../../types'; | ||
declare const verbs: Array<ImperfectiveVerb | PerfectiveVerb>; | ||
export default verbs; |
@@ -0,2 +1,3 @@ | ||
import { ImperfectiveVerb } from '../../types'; | ||
declare const ебать: ImperfectiveVerb; | ||
export default ебать; |
{ | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -27,4 +27,4 @@ "main": "dist/index.js", | ||
"prettier": { | ||
"printWidth": 80, | ||
"semi": true, | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
@@ -31,0 +31,0 @@ "trailingComma": "es5" |
@@ -0,1 +1,2 @@ | ||
import { Word } from './types' | ||
import words from './words' | ||
@@ -2,0 +3,0 @@ |
@@ -23,11 +23,11 @@ interface WordType<Type extends string> { | ||
type SingularNoun = | ||
export type SingularNoun = | ||
& WordType<'singular noun'> | ||
& SingularNounForms | ||
type PluralNoun = | ||
export type PluralNoun = | ||
& WordType<'plural noun'> | ||
& SingularNounForms | ||
type Noun = | ||
export type Noun = | ||
& WordType<'noun'> | ||
@@ -80,3 +80,3 @@ & SingularNounForms | ||
type ImperfectiveVerb = | ||
export type ImperfectiveVerb = | ||
& WordType<'imperfective verb'> | ||
@@ -88,3 +88,3 @@ & InvfinitiveVerbForms | ||
type PerfectiveVerb = | ||
export type PerfectiveVerb = | ||
& WordType<'perfective verb'> | ||
@@ -100,6 +100,6 @@ & InvfinitiveVerbForms | ||
type Interjection = | ||
export type Interjection = | ||
& WordType<'interjection'> | ||
& InterjectionForms | ||
type Word = SingularNoun | PluralNoun | Noun | ImperfectiveVerb | PerfectiveVerb | Interjection | ||
export type Word = SingularNoun | PluralNoun | Noun | ImperfectiveVerb | PerfectiveVerb | Interjection |
@@ -0,1 +1,2 @@ | ||
import { Word } from '../types' | ||
import interjections from './interjections' | ||
@@ -2,0 +3,0 @@ import nouns from './nouns' |
@@ -0,1 +1,2 @@ | ||
import { Interjection } from '../../types' | ||
import бля from './бля' | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,3 @@ | ||
import { Interjection } from '../../types' | ||
const бля: Interjection = { | ||
@@ -2,0 +4,0 @@ type: 'interjection', |
@@ -0,1 +1,2 @@ | ||
import { Noun, PluralNoun, SingularNoun } from '../../types' | ||
import пизда from './пизда' | ||
@@ -2,0 +3,0 @@ import хуй from './хуй' |
@@ -0,1 +1,3 @@ | ||
import { Noun } from '../../types' | ||
const пизда: Noun = { | ||
@@ -2,0 +4,0 @@ type: 'noun', |
@@ -0,1 +1,3 @@ | ||
import { Noun } from '../../types' | ||
const хуй: Noun = { | ||
@@ -2,0 +4,0 @@ type: 'noun', |
@@ -0,1 +1,2 @@ | ||
import { ImperfectiveVerb, PerfectiveVerb } from '../../types' | ||
import ебать from './ебать' | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,3 @@ | ||
import { ImperfectiveVerb } from '../../types' | ||
const ебать: ImperfectiveVerb = { | ||
@@ -2,0 +4,0 @@ type: 'imperfective verb', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36050
415