@@ -35,7 +35,7 @@ export interface CreateReadable {
3535 *
3636 * @returns A tuple with the Readonly and a function to set the value.
3737 */
38- < TValue = any > ( ) : [ OwnedReadable < NoInfer < TValue > | undefined > , SetValue < NoInfer < TValue > | undefined > ] ;
38+ < TValue = any > ( ) : [ OwnedReadable < TValue | undefined > , SetValue < TValue | undefined > ] ;
3939 /**
4040 * Creates a Readonly with the given value.
4141 *
@@ -51,7 +51,7 @@ export interface CreateReadable {
5151 * @param config Optional custom config.
5252 * @returns A tuple with the Readonly and a function to set the value.
5353 */
54- < TValue = any > ( value : TValue , config ?: Config < TValue > ) : [ OwnedReadable < NoInfer < TValue > > , SetValue < NoInfer < TValue > > ] ;
54+ < TValue = any > ( value : TValue , config ?: Config < TValue > ) : [ OwnedReadable < TValue > , SetValue < TValue > ] ;
5555 /**
5656 * Creates a Readonly with the given value.
5757 *
@@ -62,7 +62,7 @@ export interface CreateReadable {
6262 < TValue = any > (
6363 value ?: TValue ,
6464 config ?: Config < TValue > ,
65- ) : [ OwnedReadable < NoInfer < TValue | undefined > > , SetValue < NoInfer < TValue | undefined > > ] ;
65+ ) : [ OwnedReadable < TValue | undefined > , SetValue < TValue | undefined > ] ;
6666}
6767
6868/** @internal */
@@ -354,7 +354,7 @@ export class ReadableImpl<TValue = any> implements BatchTask {
354354export const readable : CreateReadable = < TValue = any > (
355355 value ?: TValue ,
356356 config ?: Config < TValue | undefined > ,
357- ) : [ OwnedReadable < NoInfer < TValue > | undefined > , SetValue < NoInfer < TValue > | undefined > ] => {
357+ ) : [ OwnedReadable < TValue | undefined > , SetValue < TValue | undefined > ] => {
358358 let currentValue = value ;
359359
360360 const get = ( ) => currentValue ;
@@ -428,4 +428,4 @@ export interface CreateWritable {
428428export const writable : CreateWritable = < TValue = any > (
429429 value ?: TValue ,
430430 config ?: Config < TValue > ,
431- ) : OwnedWritable < NoInfer < TValue | undefined > > => toWritable ( ...readable ( value , config ) ) ;
431+ ) : OwnedWritable < TValue | undefined > => toWritable ( ...readable ( value , config ) ) ;
0 commit comments