Home
last modified time | relevance | path

Searched refs:isRequired (Results 1 – 25 of 33) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DpropTypeValidatorInference.js18 isRequired: Validator<NonNullable<T>>;
57 foo: PropTypes.string.isRequired,
64 bar: PropTypes.number.isRequired
70 array: PropTypes.array.isRequired,
71 bool: PropTypes.bool.isRequired,
72 shape: PropTypes.shape(innerProps).isRequired,
73 oneOfType: PropTypes.oneOfType(arrayOfTypes).isRequired,
79 array: PropTypes.array.isRequired,
80 bool: PropTypes.bool.isRequired,
81 shape: PropTypes.shape(innerProps).isRequired,
[all …]
DpropTypeValidatorInference.types39 isRequired: Validator<NonNullable<T>>;
40 >isRequired : Validator<NonNullable<T>>
124 >{ foo: PropTypes.string.isRequired, bar: PropTypes.bool, baz: PropTypes.any} : { foo: Pro…
126 foo: PropTypes.string.isRequired,
128 >PropTypes.string.isRequired : PropTypes.Validator<string>
132 >isRequired : PropTypes.Validator<string>
150 …, PropTypes.shape({ foo: PropTypes.string, bar: PropTypes.number.isRequired})] : (PropTypes.…
157 >PropTypes.shape({ foo: PropTypes.string, bar: PropTypes.number.isRequired}) : PropTypes.Requ…
161 >{ foo: PropTypes.string, bar: PropTypes.number.isRequired} : { foo: PropTypes.Requireable<st…
169 bar: PropTypes.number.isRequired
[all …]
DpropTypeValidatorInference.symbols68 isRequired: Validator<NonNullable<T>>;
69 >isRequired : Symbol(Requireable.isRequired, Decl(index.d.ts, 13, 54))
203 foo: PropTypes.string.isRequired,
205 >PropTypes.string.isRequired : Symbol(PropTypes.Requireable.isRequired, Decl(index.d.ts, 13, 54))
209 >isRequired : Symbol(PropTypes.Requireable.isRequired, Decl(index.d.ts, 13, 54))
243 bar: PropTypes.number.isRequired
245 >PropTypes.number.isRequired : Symbol(PropTypes.Requireable.isRequired, Decl(index.d.ts, 13, 54))
249 >isRequired : Symbol(PropTypes.Requireable.isRequired, Decl(index.d.ts, 13, 54))
264 array: PropTypes.array.isRequired,
266 >PropTypes.array.isRequired : Symbol(PropTypes.Requireable.isRequired, Decl(index.d.ts, 13, 54))
[all …]
DtsxLibraryManagedAttributes.types26 isRequired: PropTypeChecker<U, true>;
27 >isRequired : PropTypeChecker<U, true>
99 …Types.number, bar: PropTypes.node, baz: PropTypes.string.isRequired, } : { foo: P…
113 baz: PropTypes.string.isRequired,
115 >PropTypes.string.isRequired : PropTypeChecker<string, true>
119 >isRequired : PropTypeChecker<string, true>
163 …oo={12} bar={null} baz="cool" />; // bar is nullable/undefinable since it's not marked `isRequired`
173 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
189 >{ foo: PropTypes.number, bar: PropTypes.node.isRequired, } : { foo: PropTypeCheck…
197 bar: PropTypes.node.isRequired,
[all …]
DtsxLibraryManagedAttributes.symbols57 isRequired: PropTypeChecker<U, true>;
58 >isRequired : Symbol(PropTypeChecker.isRequired, Decl(tsxLibraryManagedAttributes.tsx, 9, 104))
191 baz: PropTypes.string.isRequired,
193 >PropTypes.string.isRequired : Symbol(PropTypeChecker.isRequired, Decl(tsxLibraryManagedAttributes.…
197 >isRequired : Symbol(PropTypeChecker.isRequired, Decl(tsxLibraryManagedAttributes.tsx, 9, 104))
233 …oo={12} bar={null} baz="cool" />; // bar is nullable/undefinable since it's not marked `isRequired`
240 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
260 bar: PropTypes.node.isRequired,
262 >PropTypes.node.isRequired : Symbol(PropTypeChecker.isRequired, Decl(tsxLibraryManagedAttributes.ts…
266 >isRequired : Symbol(PropTypeChecker.isRequired, Decl(tsxLibraryManagedAttributes.tsx, 9, 104))
[all …]
DtsxLibraryManagedAttributes.js12 isRequired: PropTypeChecker<U, true>;
48 baz: PropTypes.string.isRequired,
65 bar: PropTypes.node.isRequired,
92 baz: PropTypes.number.isRequired,
108 bar: PropTypes.node.isRequired,
153 baz: PropTypes.string.isRequired
173 bar: PropTypes.node.isRequired
202 baz: PropTypes.number.isRequired
222 bar: PropTypes.node.isRequired
DtsxLibraryManagedAttributes.errors.txt35 isRequired: PropTypeChecker<U, true>;
71 baz: PropTypes.string.isRequired,
88 …oo={12} bar={null} baz="cool" />; // bar is nullable/undefinable since it's not marked `isRequired`
89 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
96 bar: PropTypes.node.isRequired,
135 baz: PropTypes.number.isRequired,
151 …c foo="no" bar={null} baz={0} />; // bar is nullable/undefinable since it's not marked `isRequired`
152 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
159 bar: PropTypes.node.isRequired,
/third_party/typescript/tests/cases/compiler/
DpropTypeValidatorInference.ts17 isRequired: Validator<NonNullable<T>>; property
56 foo: PropTypes.string.isRequired,
63 bar: PropTypes.number.isRequired
69 array: PropTypes.array.isRequired,
70 bool: PropTypes.bool.isRequired,
71 shape: PropTypes.shape(innerProps).isRequired,
72 oneOfType: PropTypes.oneOfType(arrayOfTypes).isRequired,
78 array: PropTypes.array.isRequired,
79 bool: PropTypes.bool.isRequired,
80 shape: PropTypes.shape(innerProps).isRequired,
[all …]
/third_party/typescript/tests/cases/conformance/jsx/
DtsxLibraryManagedAttributes.tsx14 isRequired: PropTypeChecker<U, true>;
50 baz: PropTypes.string.isRequired,
61 …oo={12} bar={null} baz="cool" />; // bar is nullable/undefinable since it's not marked `isRequired`
62 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
67 bar: PropTypes.node.isRequired,
94 baz: PropTypes.number.isRequired,
104 …c foo="no" bar={null} baz={0} />; // bar is nullable/undefinable since it's not marked `isRequired`
105 …ar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
110 bar: PropTypes.node.isRequired,
/third_party/mindspore/mindspore/lite/tools/common/
Dflag_parser.h76 bool isRequired = false; member
198 flagItem.isRequired = false; in AddFlag()
247 flagItem.isRequired = false; in AddFlag()
250 flagItem.isRequired = true; in AddFlag()
281 flagItem.isRequired = false; in AddFlag()
Dflag_parser.cc129 if (flag.second.isRequired && !flag.second.isParsed) { in InnerParseFlags()
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/
DBatchRunConfiguration.java73 public boolean isRequired() { in isRequired() method in BatchRunConfiguration
/third_party/node/deps/npm/docs/src/components/
Dseo.js85 title: PropTypes.string.isRequired
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptorMessageInfoFactory.java225 if (field.isRequired()) { in analyze()
354 if (fd.isRequired()) { in convertProto2()
378 if (fd.isRequired() in convertProto2()
DMessageReflection.java58 if (field.isRequired() && !fields.containsKey(field)) { in writeMessageTo()
127 if (field.isRequired()) { in isInitialized()
174 if (field.isRequired() && !message.hasField(field)) { in findMissingFields()
DFieldInfo.java413 public boolean isRequired() { in isRequired() method in FieldInfo
DDynamicMessage.java228 if (field.isRequired()) { in isInitialized()
DGeneratedMessage.java169 if (field.isRequired()) { in isInitialized()
625 if (field.isRequired()) {
DGeneratedMessageV3.java209 if (field.isRequired()) { in isInitialized()
792 if (field.isRequired()) {
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java141 if (fieldDescriptor.isRequired()) { in buildFileDescriptor()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java268 assertTrue(requiredField.isRequired()); in testFieldDescriptorLabel()
270 assertFalse(optionalField.isRequired()); in testFieldDescriptorLabel()
272 assertFalse(repeatedField.isRequired()); in testFieldDescriptorLabel()
/third_party/protobuf/objectivec/
DGPBDescriptor.h180 @property(nonatomic, readonly, getter=isRequired) BOOL required;
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java247 assertTrue(requiredField.isRequired()); in testFieldDescriptorLabel()
249 assertFalse(optionalField.isRequired()); in testFieldDescriptorLabel()
251 assertFalse(repeatedField.isRequired()); in testFieldDescriptorLabel()
/third_party/python/Mac/BuildScript/
Dbuild-installer.py1417 isRequired = recipe.get('required', True)
1478 IFPkgFlagIsRequired=isRequired,
/third_party/typescript/tests/lib/
Dreact.d.ts2286 isRequired: Validator<T>; property

12